Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.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.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooVal.TOut|cooVal.TSupSet|cooVal.TSup|cooVal.uFanSta|cooVal.yCooVal|cooVal1.TOut|cooVal1.TSupSet|cooVal1.TSup|cooVal1.uFanSta|cooVal1.yCooVal|cooVal2.TOut|cooVal2.TSupSet|cooVal2.TSup|cooVal2.uFanSta|cooVal2.yCooVal|cooVal3.TOut|cooVal3.TSupSet|cooVal3.TSup|cooVal3.uFanSta|cooVal3.yCooVal|cooVal3.higLim.y|cooVal3.limPI.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooVal.TOut|cooVal.TSupSet|cooVal.TSup|cooVal.uFanSta|cooVal.yCooVal|cooVal1.TOut|cooVal1.TSupSet|cooVal1.TSup|cooVal1.uFanSta|cooVal1.yCooVal|cooVal2.TOut|cooVal2.TSupSet|cooVal2.TSup|cooVal2.uFanSta|cooVal2.yCooVal|cooVal3.TOut|cooVal3.TSupSet|cooVal3.TSup|cooVal3.uFanSta|cooVal3.yCooVal|cooVal3.higLim.y|cooVal3.limPI.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.402/2.402, allocations: 390.5 MB / 398 MB, free: 10.95 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.001085/0.001085, allocations: 168.9 kB / 491.2 MB, free: 1.578 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.786/1.786, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001244/0.001244, allocations: 95.56 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.833e-05/1.835e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3402, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.381, allocations: 154.8 MB / 1.364 GB, free: 17.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.381, allocations: 86.16 kB / 1.364 GB, free: 17.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05275/1.434, allocations: 22.55 MB / 1.386 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.843e-06/1.434, allocations: 0 / 1.386 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.23e-05/1.434, allocations: 34.5 kB / 1.386 GB, free: 28.42 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: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.00248/1.436, allocations: 1.575 MB / 1.387 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/1.436, allocations: 11.34 kB / 1.387 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002834/1.437, allocations: 197.9 kB / 1.387 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/1.439, allocations: 1.132 MB / 1.389 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/1.439, allocations: 46.28 kB / 1.389 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/1.439, allocations: 96.7 kB / 1.389 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001418/1.44, allocations: 0.8168 MB / 1.389 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/1.442, allocations: 1.077 MB / 1.39 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/1.442, allocations: 3.984 kB / 1.39 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.543e-05/1.442, allocations: 3.844 kB / 1.391 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/1.442, allocations: 34.91 kB / 1.391 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005922/1.448, allocations: 4.204 MB / 1.395 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/1.449, allocations: 0.7019 MB / 1.395 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000432/1.45, allocations: 341.3 kB / 1.396 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.831e-05/1.45, allocations: 23.14 kB / 1.396 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006502/1.45, allocations: 431.6 kB / 1.396 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=87): time 4.738e-06/1.45, allocations: 3.844 kB / 1.396 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87): time 0.001061/1.451, allocations: 0.6173 MB / 1.397 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/1.451, allocations: 250 kB / 1.397 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009087/1.452, allocations: 0.7444 MB / 1.398 GB, free: 23.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.925e-05/1.452, allocations: 40.14 kB / 1.398 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004558/1.453, allocations: 0.75 MB / 1.398 GB, free: 22.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/1.453, allocations: 264.9 kB / 1.399 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/1.453, allocations: 0 / 1.399 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.453, allocations: 360.3 kB / 1.399 GB, free: 22.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/1.454, allocations: 285.3 kB / 1.399 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/1.454, allocations: 0.6239 MB / 1.4 GB, free: 21.94 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/1.455, allocations: 351.7 kB / 1.4 GB, free: 21.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.455, allocations: 7.812 kB / 1.4 GB, free: 21.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001361/1.456, allocations: 0.9538 MB / 1.401 GB, free: 21.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001469/1.458, allocations: 2.834 MB / 1.404 GB, free: 18.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.458, allocations: 7.719 kB / 1.404 GB, free: 18.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/1.458, allocations: 11.5 kB / 1.404 GB, free: 18.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/1.459, allocations: 230.3 kB / 1.404 GB, free: 18.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/1.459, allocations: 23.31 kB / 1.404 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008696/1.46, allocations: 175.4 kB / 1.404 GB, free: 18.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/1.46, allocations: 48.16 kB / 1.404 GB, free: 18.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/1.46, allocations: 3.844 kB / 1.404 GB, free: 18.54 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001143/1.461, allocations: 0.7846 MB / 1.405 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.461, allocations: 3.844 kB / 1.405 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/1.461, allocations: 19.36 kB / 1.405 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006443/1.461, allocations: 204.9 kB / 1.405 GB, free: 18.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/1.461, allocations: 15.66 kB / 1.405 GB, free: 18.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/1.462, allocations: 140.9 kB / 1.406 GB, free: 18.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-05/1.462, allocations: 41.44 kB / 1.406 GB, free: 18.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,$whenCondition6,cooVal.limPI.trigger,$PRE.cooVal.TOutThr.y,cooVal.TOutThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.uFanFeeThr.y,$PRE.cooVal.cha.u,cooVal.cha.u,$PRE.uSupFan.y,uSupFan.y,$whenCondition3,cooVal3.limPI.trigger,$PRE.cooVal3.TOutThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.uFanFeeThr.y,$PRE.cooVal3.cha.u,cooVal3.cha.u,$whenCondition2,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u,$whenCondition1,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * 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.000269/1.463, allocations: 157.3 kB / 1.406 GB, free: 18.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/1.463, allocations: 116.6 kB / 1.406 GB, free: 18.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/1.464, allocations: 0.6714 MB / 1.407 GB, free: 17.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.464, allocations: 11.56 kB / 1.407 GB, free: 17.94 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.464, allocations: 3.938 kB / 1.407 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/1.464, allocations: 3.984 kB / 1.407 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/1.467, allocations: 2.127 MB / 1.409 GB, free: 16.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.467, allocations: 8.094 kB / 1.409 GB, free: 16.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/1.467, allocations: 165.7 kB / 1.409 GB, free: 16.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/1.467, allocations: 3.844 kB / 1.409 GB, free: 16.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/1.467, allocations: 15.36 kB / 1.409 GB, free: 16.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/1.467, allocations: 7.688 kB / 1.409 GB, free: 16.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-05/1.467, allocations: 11.89 kB / 1.409 GB, free: 16.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/1.469, allocations: 1.458 MB / 1.41 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/1.469, allocations: 198.7 kB / 1.41 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/1.469, allocations: 19.02 kB / 1.41 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/1.47, allocations: 71.92 kB / 1.411 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/1.47, allocations: 98.28 kB / 1.411 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/1.47, allocations: 27.61 kB / 1.411 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006008/1.471, allocations: 0.5361 MB / 1.411 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.471, allocations: 0 / 1.411 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001401/1.472, allocations: 461.3 kB / 1.412 GB, free: 14.45 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (cooVal2.limPI.I.y,cooVal1.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 23 (cooVal2.limPI.trigger,$whenCondition1,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.cha.u,cooVal1.limPI.trigger,$whenCondition2,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal3.limPI.trigger,$whenCondition3,cooVal3.TOutThr.y,cooVal3.uFanFeeThr.y,cooVal3.cha.u,cooVal.limPI.trigger,$whenCondition6,$whenCondition4,$whenCondition5,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.y) * Number of discrete states: 12 (cooVal.uFanFeeThr.y,cooVal.TOutThr.y,cooVal.cha.u,cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,cooVal3.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * 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.0002481/1.472, allocations: 160.2 kB / 1.412 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00168/1.474, allocations: 1.321 MB / 1.413 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.474, allocations: 8.062 kB / 1.413 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003828/1.474, allocations: 316.2 kB / 1.413 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/1.476, allocations: 223.5 kB / 1.414 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/1.478, allocations: 1.699 MB / 1.415 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007955/1.479, allocations: 1.215 MB / 1.416 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001185/1.48, allocations: 237.3 kB / 1.417 GB, free: 9.922 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/1.481, allocations: 82.66 kB / 1.417 GB, free: 9.848 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.481, allocations: 4 kB / 1.417 GB, free: 9.844 MB / 0.8386 GB Notification: Performance of Templates: time 0.02547/1.506, allocations: 13.18 MB / 1.43 GB, free: 12.84 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.csv","../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches