Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.00183/0.00183, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002231/0.002231, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.507/1.507, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 75.88 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6569/0.6589, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002068/0.6609, allocations: 0.8123 MB / 1.275 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.6624, allocations: 1.16 MB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.6625, allocations: 8 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.6625, allocations: 3.938 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.6626, allocations: 11.86 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.6631, allocations: 143.1 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.6633, allocations: 147.7 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.6634, allocations: 31.86 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.6635, allocations: 67.77 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.6636, allocations: 55.8 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.6636, allocations: 20 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-05/0.6637, allocations: 27.98 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.6637, allocations: 15.92 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.395e-05/0.6638, allocations: 55.83 kB / 1.277 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.664, allocations: 146.2 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.664, allocations: 0 / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.333e-06/0.664, allocations: 0 / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.664, allocations: 0 / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006803/0.6647, allocations: 440.8 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.6647, allocations: 12.03 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.6648, allocations: 16.81 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.6649, allocations: 180.3 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.665, allocations: 8.375 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.665, allocations: 8.375 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.6652, allocations: 91.45 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.6652, allocations: 192 / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.6652, allocations: 3.938 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.6653, allocations: 8 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.6655, allocations: 59.89 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/0.666, allocations: 372.6 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.6662, allocations: 54.48 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.6663, allocations: 32.92 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.6663, allocations: 0 / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.6666, allocations: 87.31 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.6666, allocations: 3.938 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004427/0.667, allocations: 129.6 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.667, allocations: 51.41 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.6672, allocations: 133.7 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.6672, allocations: 29.7 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.6673, allocations: 96.09 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.6673, allocations: 23.81 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.6674, allocations: 37.7 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6675, allocations: 322.8 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.6677, allocations: 47.97 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.6679, allocations: 83.39 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.6681, allocations: 124.3 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6681, allocations: 0 / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004605/0.6686, allocations: 191.2 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.6686, allocations: 37.7 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.6686, allocations: 0 / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.6687, allocations: 4 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.6688, allocations: 7.984 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.6688, allocations: 8.062 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.669, allocations: 35.89 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.669, allocations: 15.98 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001097/0.6691, allocations: 121.8 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.6692, allocations: 4.047 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.6692, allocations: 16.31 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.6692, allocations: 4 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.6692, allocations: 0 / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6692, allocations: 3.938 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.6694, allocations: 185.9 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6694, allocations: 0 / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.03e-05/0.6695, allocations: 15.98 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.6695, allocations: 4 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.6695, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6695, allocations: 3.938 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6695, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.6698, allocations: 132.9 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.6698, allocations: 85.06 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.6698, allocations: 0 / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.6699, allocations: 11.98 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.67, allocations: 15.92 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.67, allocations: 3.984 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.524e-05/0.67, allocations: 95.28 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.67, allocations: 0 / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002311/0.6703, allocations: 31.92 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000147/0.6704, allocations: 103.8 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003918/0.6708, allocations: 155.3 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6708, allocations: 4.125 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.6709, allocations: 31.98 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.6711, allocations: 15.98 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.6715, allocations: 182.8 kB / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.6718, allocations: 0.6962 MB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.188e-05/0.6718, allocations: 7.984 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.6719, allocations: 11.44 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.6719, allocations: 0 / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.004539/0.6764, allocations: 1.662 MB / 1.283 GB, free: 11.13 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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: 8.229491638019681]