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.00137/0.00137, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001512/0.001512, allocations: 177.3 kB / 15.95 MB, free: 216 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.561/1.561, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.714/2.714, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003952, allocations: 8 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7785/0.7789, allocations: 153.7 MB / 1.021 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001101/0.7801, allocations: 0.5128 MB / 1.021 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.7815, allocations: 1.121 MB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.119e-05/0.7816, allocations: 0 / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.7816, allocations: 3.938 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.177e-05/0.7817, allocations: 15.91 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.7822, allocations: 110.7 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.7823, allocations: 79.83 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.7824, allocations: 31.97 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.638e-05/0.7825, allocations: 39.91 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.349e-05/0.7826, allocations: 43.81 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.7826, allocations: 8 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.7827, allocations: 23.92 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.7827, allocations: 11.92 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.7828, allocations: 37.7 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.7829, allocations: 99.75 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.783, allocations: 0 / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.054e-06/0.783, allocations: 4 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.783, allocations: 0 / 1.023 GB, free: 15.05 MB / 0.7794 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.0006188/0.7836, allocations: 420.8 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.7836, allocations: 11.98 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.7837, allocations: 11.91 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.7838, allocations: 178.9 kB / 1.023 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.7839, allocations: 8 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.7839, allocations: 11.95 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.7841, allocations: 89.66 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.7842, allocations: 0 / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.7842, allocations: 3.984 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.7842, allocations: 0 / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.7844, allocations: 79.89 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.785, allocations: 384.5 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.7852, allocations: 62.47 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.7852, allocations: 4 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.7854, allocations: 83.47 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.7854, allocations: 3.938 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004287/0.7858, allocations: 149.5 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.7859, allocations: 51.41 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.786, allocations: 137.7 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.786, allocations: 29.7 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.7861, allocations: 100 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.7861, allocations: 23.67 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.7862, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.7863, allocations: 326.8 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.7864, allocations: 55.97 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.7866, allocations: 79.39 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.7868, allocations: 81.7 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7868, allocations: 0 / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003952/0.7872, allocations: 203.2 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.7872, allocations: 42.94 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7873, allocations: 0 / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.7873, allocations: 3.938 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.7874, allocations: 11.98 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.7874, allocations: 0 / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.7876, allocations: 55.95 kB / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.7877, allocations: 11.95 kB / 1.025 GB, free: 12.14 MB / 0.7794 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.0001081/0.7878, allocations: 124.5 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.7878, allocations: 11.91 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.7878, allocations: 8.375 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7878, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.7878, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7879, allocations: 4 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.788, allocations: 185.9 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.788, allocations: 4 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.282e-05/0.7881, allocations: 23.92 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7881, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.7881, allocations: 4 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.7881, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.7881, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.7884, allocations: 136.9 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.7884, allocations: 85.02 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.7885, allocations: 4 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.7885, allocations: 11.98 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.7886, allocations: 12.08 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.7886, allocations: 11.92 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.501e-05/0.7887, allocations: 95.2 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7887, allocations: 0 / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002209/0.7889, allocations: 31.94 kB / 1.026 GB, free: 11.31 MB / 0.7794 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.0001484/0.7891, allocations: 103.2 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003834/0.7895, allocations: 175.3 kB / 1.026 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7895, allocations: 8.125 kB / 1.026 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.7896, allocations: 43.91 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.7898, allocations: 16.69 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.7902, allocations: 193 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.7904, allocations: 0.6926 MB / 1.027 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.545e-05/0.7905, allocations: 8.172 kB / 1.027 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.7905, allocations: 15.44 kB / 1.027 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7905, allocations: 0 / 1.027 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of Templates: time 0.004041/0.7946, allocations: 1.391 MB / 1.029 GB, free: 8.613 MB / 0.7794 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