Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008469/0.0008467, allocations: 92.16 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009724/0.0009725, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.92/2.92, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004985, allocations: 8.281 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.4681, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00146/0.4696, allocations: 0.5145 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002007/0.4717, allocations: 1.143 MB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.4718, allocations: 0 / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.4719, allocations: 7.938 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.472, allocations: 3.938 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006211/0.4726, allocations: 118.4 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.4728, allocations: 123.6 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.473, allocations: 23.98 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.4731, allocations: 51.84 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.4733, allocations: 43.81 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.4733, allocations: 4 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-05/0.4734, allocations: 15.98 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.4734, allocations: 11.98 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.743e-05/0.4735, allocations: 41.64 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.4737, allocations: 103.8 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.4737, allocations: 0 / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4737, allocations: 0 / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.4738, allocations: 0 / 1.06 GB, free: 3.133 MB / 0.8106 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.0007552/0.4745, allocations: 421.1 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.4746, allocations: 8.031 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.339e-05/0.4746, allocations: 11.89 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.4748, allocations: 178.8 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.4749, allocations: 19.89 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.4749, allocations: 8 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.4752, allocations: 89.64 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.4752, allocations: 0 / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.4752, allocations: 4 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.4752, allocations: 0 / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.4755, allocations: 67.95 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007091/0.4762, allocations: 388.5 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.4764, allocations: 58.55 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.4765, allocations: 36.88 kB / 1.061 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.4765, allocations: 0 / 1.061 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.4768, allocations: 95.36 kB / 1.061 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.4768, allocations: 3.938 kB / 1.061 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004626/0.4773, allocations: 137.5 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.4773, allocations: 59.36 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.4775, allocations: 133.7 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.4775, allocations: 25.7 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.4776, allocations: 104 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.4776, allocations: 7.891 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.4776, allocations: 8 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.4778, allocations: 314.8 kB / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.478, allocations: 59.95 kB / 1.062 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.4781, allocations: 83.41 kB / 1.062 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.4783, allocations: 81.66 kB / 1.062 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4784, allocations: 4 kB / 1.062 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004341/0.4788, allocations: 203.2 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.4789, allocations: 35.27 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4789, allocations: 0 / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.4789, allocations: 4 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.764e-05/0.479, allocations: 15.92 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.479, allocations: 3.953 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.4793, allocations: 64.22 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.4793, allocations: 8 kB / 1.063 GB, free: 196 kB / 0.8106 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,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.4795, allocations: 124.9 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.4795, allocations: 4 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.4795, allocations: 16.38 kB / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4796, allocations: 3.984 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4796, allocations: 0 / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4796, allocations: 3.953 kB / 1.063 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.4798, allocations: 189.6 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4798, allocations: 0 / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.377e-05/0.4799, allocations: 11.98 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4799, allocations: 4 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.48, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.48, allocations: 4 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.48, allocations: 0 / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.4804, allocations: 140.9 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.4805, allocations: 89 kB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.4805, allocations: 3.984 kB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.4806, allocations: 15.98 kB / 1.063 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.4807, allocations: 12.08 kB / 1.063 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.4808, allocations: 3.938 kB / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001056/0.4809, allocations: 95.27 kB / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4809, allocations: 4 kB / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003703/0.4813, allocations: 24 kB / 1.064 GB, free: 15.36 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002001/0.4815, allocations: 103.2 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005331/0.482, allocations: 179.3 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.482, allocations: 0 / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.4822, allocations: 47.91 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.4825, allocations: 15.94 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/0.4832, allocations: 201 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.4836, allocations: 0.6926 MB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.535e-05/0.4837, allocations: 4.172 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.4837, allocations: 11.44 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.4837, allocations: 4 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of Templates: time 0.006218/0.49, allocations: 1.402 MB / 1.066 GB, free: 12.65 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches