Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.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_10_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_10_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.001783/0.001783, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001695/0.001696, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 60.31 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.947/0.9483, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002138/0.9505, allocations: 0.8193 MB / 1.168 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.9521, allocations: 1.148 MB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.9521, allocations: 4 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.9522, allocations: 7.875 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.416e-05/0.9523, allocations: 15.86 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.9528, allocations: 142.3 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.953, allocations: 155.7 kB / 1.17 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.9532, allocations: 27.98 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.975e-05/0.9533, allocations: 51.91 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.9534, allocations: 67.72 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.9535, allocations: 16 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.229e-05/0.9536, allocations: 27.94 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.9536, allocations: 19.92 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.591e-05/0.9537, allocations: 59.77 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.9539, allocations: 143.5 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.9539, allocations: 8 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9539, allocations: 0 / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.9539, allocations: 0 / 1.17 GB, free: 1.172 MB / 0.8887 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.0006719/0.9546, allocations: 430.6 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.9546, allocations: 12.92 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.9547, allocations: 12.84 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.9548, allocations: 184.1 kB / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.9549, allocations: 8.375 kB / 1.171 GB, free: 460 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.9549, allocations: 8.375 kB / 1.171 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.9551, allocations: 86.2 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.9551, allocations: 192 / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.9552, allocations: 3.938 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.9552, allocations: 0 / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.9554, allocations: 67.94 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006051/0.956, allocations: 380.5 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.9563, allocations: 50.55 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.211e-05/0.9564, allocations: 28.94 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.9564, allocations: 4 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.9566, allocations: 87.3 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.9566, allocations: 0 / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0004339/0.9571, allocations: 125.5 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.9571, allocations: 55.41 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.9572, allocations: 137.6 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.9573, allocations: 25.7 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.9574, allocations: 100 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.9574, allocations: 15.83 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.9575, allocations: 37.64 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9576, allocations: 322.8 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.9578, allocations: 51.97 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.9579, allocations: 79.39 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.9582, allocations: 120.2 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9582, allocations: 0 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004009/0.9586, allocations: 195.1 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.9586, allocations: 33.7 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.9587, allocations: 96 / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.9587, allocations: 7.938 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.827e-05/0.9588, allocations: 7.984 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.9588, allocations: 0 / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.959, allocations: 51.86 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.959, allocations: 11.98 kB / 1.173 GB, free: 14.22 MB / 0.9044 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.0001206/0.9592, allocations: 115.6 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.9592, allocations: 4 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.9592, allocations: 12.38 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.9592, allocations: 0 / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9592, allocations: 4.312 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.9592, allocations: 3.938 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.9595, allocations: 197.5 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9595, allocations: 3.938 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.9595, allocations: 7.984 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.9595, allocations: 4 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.9596, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.9596, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.9596, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.9598, allocations: 125 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.9599, allocations: 85.02 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.9599, allocations: 0 / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.96, allocations: 11.98 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.96, allocations: 19.86 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.9601, allocations: 0 / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001518/0.9602, allocations: 99.27 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.074e-06/0.9602, allocations: 0 / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002223/0.9604, allocations: 31.88 kB / 1.173 GB, free: 13.41 MB / 0.9044 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.0001555/0.9606, allocations: 103.2 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.961, allocations: 167.3 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.961, allocations: 0 / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.9611, allocations: 44.05 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.9614, allocations: 11.98 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.9618, allocations: 204.8 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.9621, allocations: 0.6979 MB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.9622, allocations: 15.42 kB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.9622, allocations: 4 kB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of Templates: time 0.003276/0.9654, allocations: 1.354 MB / 1.176 GB, free: 10.76 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches