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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.453/2.453, allocations: 390.3 MB / 402.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 168.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 221.3 MB / 0.7915 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009445/0.0009444, allocations: 87.95 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.131e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3304, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.423, allocations: 151.2 MB / 1.366 GB, free: 2.84 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/1.424, allocations: 99.73 kB / 1.367 GB, free: 2.777 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006843/1.431, allocations: 2.416 MB / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.496e-06/1.431, allocations: 0 / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.532e-06/1.431, allocations: 7.938 kB / 1.369 GB, free: 0.668 MB / 0.823 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.0005069/1.431, allocations: 407.2 kB / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/1.431, allocations: 16.03 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/1.431, allocations: 7.906 kB / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/1.431, allocations: 171.2 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/1.431, allocations: 14.92 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/1.431, allocations: 11.19 kB / 1.369 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/1.432, allocations: 72.23 kB / 1.37 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/1.432, allocations: 0 / 1.37 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/1.432, allocations: 0 / 1.37 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.432, allocations: 4 kB / 1.37 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.394e-05/1.432, allocations: 34 kB / 1.37 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/1.432, allocations: 388.6 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.805e-05/1.432, allocations: 40.88 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/1.432, allocations: 27.8 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/1.432, allocations: 0 / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/1.433, allocations: 70.94 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/1.433, allocations: 3.938 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002241/1.433, allocations: 79.47 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/1.433, allocations: 51.41 kB / 1.37 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/1.433, allocations: 108 kB / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/1.433, allocations: 33.02 kB / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/1.433, allocations: 107.3 kB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/1.433, allocations: 11.64 kB / 1.37 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/1.433, allocations: 4 kB / 1.37 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.433, allocations: 322.1 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/1.433, allocations: 37.38 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/1.434, allocations: 64.36 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.359e-05/1.434, allocations: 67.78 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.434, allocations: 0 / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002854/1.434, allocations: 167.6 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/1.434, allocations: 44.81 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.434, allocations: 3.953 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/1.434, allocations: 0 / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.804e-05/1.434, allocations: 11.98 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/1.434, allocations: 8.062 kB / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/1.434, allocations: 51.89 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/1.434, allocations: 4 kB / 1.371 GB, free: 14.23 MB / 0.8386 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 () * 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.0001234/1.435, allocations: 115.9 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/1.435, allocations: 7.844 kB / 1.371 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/1.435, allocations: 17.98 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.435, allocations: 3.953 kB / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.435, allocations: 0 / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.435, allocations: 0 / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/1.435, allocations: 183.4 kB / 1.372 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/1.435, allocations: 3.984 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/1.435, allocations: 12 kB / 1.372 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.435, allocations: 0 / 1.372 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/1.435, allocations: 7.984 kB / 1.372 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.435, allocations: 0 / 1.372 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.435, allocations: 3.953 kB / 1.372 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/1.435, allocations: 95.41 kB / 1.372 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/1.435, allocations: 81.11 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/1.435, allocations: 7.5 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/1.435, allocations: 15.98 kB / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/1.435, allocations: 27.84 kB / 1.372 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/1.435, allocations: 2.5 kB / 1.372 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.381e-05/1.435, allocations: 91.86 kB / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.435, allocations: 3.938 kB / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002127/1.436, allocations: 31.33 kB / 1.372 GB, free: 13.48 MB / 0.8386 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) * 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.0002052/1.436, allocations: 115.4 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002644/1.436, allocations: 144.8 kB / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.436, allocations: 0 / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/1.436, allocations: 22.81 kB / 1.372 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/1.436, allocations: 18.14 kB / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/1.437, allocations: 111.6 kB / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/1.437, allocations: 0.7006 MB / 1.373 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.942e-05/1.437, allocations: 4.188 kB / 1.373 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/1.437, allocations: 7.438 kB / 1.373 GB, free: 12.35 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.437, allocations: 4 kB / 1.373 GB, free: 12.35 MB / 0.8386 GB Notification: Performance of Templates: time 0.004695/1.442, allocations: 1.388 MB / 1.374 GB, free: 10.98 MB / 0.8386 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","../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches