Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001139/0.00114, allocations: 176.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009751/0.0009753, allocations: 99.88 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.569e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2871, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9872/1.274, allocations: 149.7 MB / 1.352 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/1.275, allocations: 93.34 kB / 1.352 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007154/1.282, allocations: 2.409 MB / 1.355 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.202e-06/1.282, allocations: 3.875 kB / 1.355 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.112e-06/1.282, allocations: 0 / 1.355 GB, free: 34.05 MB / 0.8386 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.0004756/1.282, allocations: 417.4 kB / 1.355 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/1.282, allocations: 11.69 kB / 1.355 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/1.282, allocations: 7.719 kB / 1.355 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.097e-05/1.282, allocations: 176.4 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/1.283, allocations: 3.812 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/1.283, allocations: 7.688 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001107/1.283, allocations: 33.61 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/1.283, allocations: 61.97 kB / 1.355 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/1.283, allocations: 0.7969 kB / 1.355 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/1.283, allocations: 3.875 kB / 1.355 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.283, allocations: 4 kB / 1.355 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/1.283, allocations: 347.8 kB / 1.356 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.11e-05/1.283, allocations: 34.23 kB / 1.356 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/1.283, allocations: 24.14 kB / 1.356 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/1.284, allocations: 0 / 1.356 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/1.284, allocations: 71.97 kB / 1.356 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/1.284, allocations: 3.812 kB / 1.356 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001964/1.284, allocations: 80.3 kB / 1.356 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/1.284, allocations: 52.3 kB / 1.356 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.493e-05/1.284, allocations: 111.8 kB / 1.356 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/1.284, allocations: 33.58 kB / 1.356 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/1.284, allocations: 97.7 kB / 1.356 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/1.284, allocations: 12.08 kB / 1.356 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/1.284, allocations: 0 / 1.356 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.284, allocations: 320.6 kB / 1.356 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/1.284, allocations: 34.86 kB / 1.356 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.42e-05/1.284, allocations: 62.92 kB / 1.357 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/1.285, allocations: 38.97 kB / 1.357 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.285, allocations: 8.672 kB / 1.357 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002902/1.285, allocations: 134.4 kB / 1.357 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/1.285, allocations: 38.95 kB / 1.357 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.285, allocations: 0 / 1.357 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.285, allocations: 4.641 kB / 1.357 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/1.285, allocations: 22.34 kB / 1.357 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/1.285, allocations: 3.953 kB / 1.357 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/1.285, allocations: 63.91 kB / 1.357 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/1.285, allocations: 5.141 kB / 1.357 GB, free: 32.31 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 8.278e-05/1.285, allocations: 106.2 kB / 1.357 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/1.285, allocations: 8.547 kB / 1.357 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/1.285, allocations: 13 kB / 1.357 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/1.285, allocations: 0 / 1.357 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.285, allocations: 0 / 1.357 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.285, allocations: 4.516 kB / 1.357 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/1.286, allocations: 158.7 kB / 1.357 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.286, allocations: 4 kB / 1.357 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/1.286, allocations: 14.72 kB / 1.357 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.286, allocations: 3.844 kB / 1.357 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/1.286, allocations: 0.7969 kB / 1.357 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.286, allocations: 4.062 kB / 1.357 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.286, allocations: 4 kB / 1.357 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/1.286, allocations: 95.81 kB / 1.357 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/1.286, allocations: 85.81 kB / 1.357 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/1.286, allocations: 4.516 kB / 1.357 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/1.286, allocations: 15.05 kB / 1.357 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/1.286, allocations: 13.81 kB / 1.357 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/1.286, allocations: 0.5625 kB / 1.357 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.918e-05/1.286, allocations: 88.59 kB / 1.357 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.286, allocations: 0 / 1.357 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002081/1.286, allocations: 32.36 kB / 1.357 GB, free: 31.78 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.0001388/1.286, allocations: 113.4 kB / 1.358 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001962/1.287, allocations: 136.9 kB / 1.358 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.287, allocations: 0 / 1.358 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.442e-05/1.287, allocations: 26.16 kB / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/1.287, allocations: 17.56 kB / 1.358 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/1.287, allocations: 113 kB / 1.358 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/1.287, allocations: 0.6956 MB / 1.359 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.561e-05/1.287, allocations: 1.5 kB / 1.359 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/1.287, allocations: 11.83 kB / 1.359 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.287, allocations: 0 / 1.359 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of Templates: time 0.003515/1.291, allocations: 1.301 MB / 1.36 GB, free: 30.7 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches