Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 114.9 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.735/2.735, allocations: 437 MB / 0.7177 GB, free: 4.52 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3091, allocations: 151.6 MB / 1.176 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002783/0.3119, allocations: 1.472 MB / 1.177 GB, free: 4.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007718/0.3127, allocations: 447 kB / 1.178 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.3128, allocations: 0 / 1.178 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.3128, allocations: 7.922 kB / 1.178 GB, free: 3.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.278e-05/0.3129, allocations: 3.938 kB / 1.178 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.3131, allocations: 23.92 kB / 1.178 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.794e-05/0.3132, allocations: 51.84 kB / 1.178 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3133, allocations: 19.97 kB / 1.178 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.3133, allocations: 15.94 kB / 1.178 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.937e-05/0.3134, allocations: 27.91 kB / 1.178 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.3134, allocations: 4 kB / 1.178 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.3135, allocations: 4 kB / 1.178 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.3135, allocations: 11.94 kB / 1.178 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.3135, allocations: 19.92 kB / 1.178 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.3137, allocations: 47.75 kB / 1.178 GB, free: 3.754 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3137, allocations: 0 / 1.178 GB, free: 3.754 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.477e-06/0.3137, allocations: 0 / 1.178 GB, free: 3.754 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.3137, allocations: 3.938 kB / 1.178 GB, free: 3.75 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005481/0.3142, allocations: 371.3 kB / 1.178 GB, free: 3.34 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3143, allocations: 8.031 kB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.3143, allocations: 8.922 kB / 1.178 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.3145, allocations: 168.3 kB / 1.178 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3145, allocations: 4.375 kB / 1.178 GB, free: 3.117 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3145, allocations: 4.375 kB / 1.178 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.3147, allocations: 65.92 kB / 1.179 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3147, allocations: 0 / 1.179 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3147, allocations: 0 / 1.179 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3147, allocations: 4 kB / 1.179 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.93e-05/0.3148, allocations: 31.92 kB / 1.179 GB, free: 3.008 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.3153, allocations: 292.8 kB / 1.179 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.3154, allocations: 58.62 kB / 1.179 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.3155, allocations: 24.92 kB / 1.179 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.3155, allocations: 4 kB / 1.179 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.3157, allocations: 75.33 kB / 1.179 GB, free: 2.488 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 3.316e-06/0.3157, allocations: 0 / 1.179 GB, free: 2.488 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002296/0.3159, allocations: 93.62 kB / 1.179 GB, free: 2.391 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.316, allocations: 59.33 kB / 1.179 GB, free: 2.32 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.07e-05/0.3161, allocations: 106 kB / 1.179 GB, free: 2.207 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3161, allocations: 29.7 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.3162, allocations: 100.1 kB / 1.179 GB, free: 2.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3162, allocations: 19.8 kB / 1.179 GB, free: 2.051 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.3162, allocations: 29.7 kB / 1.179 GB, free: 2.016 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3164, allocations: 322.7 kB / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.11e-05/0.3164, allocations: 19.98 kB / 1.18 GB, free: 1.672 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.856e-05/0.3165, allocations: 43.42 kB / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.779e-05/0.3166, allocations: 71.41 kB / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3166, allocations: 0 / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001495/0.3168, allocations: 93.56 kB / 1.18 GB, free: 1.438 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3168, allocations: 8 kB / 1.18 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3168, allocations: 0 / 1.18 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3168, allocations: 0 / 1.18 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.662e-05/0.3169, allocations: 19.98 kB / 1.18 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.3169, allocations: 8 kB / 1.18 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.567e-05/0.317, allocations: 8.031 kB / 1.18 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.317, allocations: 4 kB / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.3171, allocations: 119.2 kB / 1.18 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.3171, allocations: 8.359 kB / 1.18 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.3172, allocations: 7.969 kB / 1.18 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3172, allocations: 0 / 1.18 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3172, allocations: 0 / 1.18 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3172, allocations: 3.938 kB / 1.18 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.3176, allocations: 374.3 kB / 1.18 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3176, allocations: 0 / 1.18 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-05/0.3177, allocations: 4 kB / 1.18 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3177, allocations: 0 / 1.18 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3177, allocations: 3.984 kB / 1.18 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3177, allocations: 3.938 kB / 1.18 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3177, allocations: 0 / 1.18 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.3179, allocations: 179.4 kB / 1.181 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.318, allocations: 89.09 kB / 1.181 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.318, allocations: 0 / 1.181 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.3181, allocations: 7.938 kB / 1.181 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.3181, allocations: 15.92 kB / 1.181 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3181, allocations: 0 / 1.181 GB, free: 500 kB / 0.92 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.3182, allocations: 87.34 kB / 1.181 GB, free: 412 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3182, allocations: 0 / 1.181 GB, free: 412 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002301/0.3184, allocations: 16 kB / 1.181 GB, free: 396 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001167/0.3186, allocations: 101.8 kB / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.3187, allocations: 59.86 kB / 1.181 GB, free: 228 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3187, allocations: 0 / 1.181 GB, free: 228 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.753e-05/0.3188, allocations: 27.97 kB / 1.181 GB, free: 200 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.3191, allocations: 16.3 kB / 1.181 GB, free: 184 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.3195, allocations: 191 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.3199, allocations: 0.6846 MB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.3199, allocations: 11.44 kB / 1.182 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3199, allocations: 0 / 1.182 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of Templates: time 0.002386/0.3223, allocations: 0.8731 MB / 1.183 GB, free: 14.37 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.2366817840375]