Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.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.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_9_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_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001074/0.001074, allocations: 184.9 kB / 492.3 MB, free: 0.6172 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.429/1.429, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008647/0.0008645, allocations: 97.78 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.074e-05/3.077e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2898, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.292, allocations: 154.7 MB / 1.363 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/1.292, allocations: 84.97 kB / 1.364 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05122/1.344, allocations: 22.73 MB / 1.386 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.996e-06/1.344, allocations: 0 / 1.386 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.194e-05/1.344, allocations: 41.98 kB / 1.386 GB, free: 29.7 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.002715/1.347, allocations: 1.571 MB / 1.387 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/1.347, allocations: 7.625 kB / 1.387 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003103/1.347, allocations: 198.1 kB / 1.388 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/1.349, allocations: 1.128 MB / 1.389 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/1.349, allocations: 118.7 kB / 1.389 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/1.349, allocations: 150.3 kB / 1.389 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/1.352, allocations: 1.282 MB / 1.39 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/1.352, allocations: 7.781 kB / 1.39 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/1.352, allocations: 56.59 kB / 1.39 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/1.352, allocations: 38.97 kB / 1.39 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/1.353, allocations: 0.8907 MB / 1.391 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006354/1.36, allocations: 4.522 MB / 1.396 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/1.361, allocations: 0.7402 MB / 1.396 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004428/1.361, allocations: 365.8 kB / 1.397 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.997e-05/1.361, allocations: 19.02 kB / 1.397 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006486/1.362, allocations: 450.9 kB / 1.397 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=87): time 2.455e-06/1.362, allocations: 0 / 1.397 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87): time 0.001083/1.363, allocations: 0.6969 MB / 1.398 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/1.363, allocations: 246.7 kB / 1.398 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/1.364, allocations: 1.048 MB / 1.399 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.585e-05/1.364, allocations: 61.31 kB / 1.399 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/1.365, allocations: 0.7211 MB / 1.4 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/1.365, allocations: 279.4 kB / 1.4 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/1.365, allocations: 26.56 kB / 1.4 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.365, allocations: 352.5 kB / 1.4 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/1.366, allocations: 316.3 kB / 1.401 GB, free: 23.53 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/1.366, allocations: 0.6595 MB / 1.401 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/1.367, allocations: 393.1 kB / 1.402 GB, free: 23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.367, allocations: 3.875 kB / 1.402 GB, free: 23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001447/1.368, allocations: 1.098 MB / 1.403 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009642/1.369, allocations: 2.883 MB / 1.406 GB, free: 19.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.369, allocations: 7.625 kB / 1.406 GB, free: 19.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/1.369, allocations: 11.56 kB / 1.406 GB, free: 19.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008256/1.37, allocations: 237.2 kB / 1.406 GB, free: 19.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/1.37, allocations: 19.97 kB / 1.406 GB, free: 19.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009366/1.371, allocations: 230.6 kB / 1.406 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/1.371, allocations: 53.73 kB / 1.406 GB, free: 19.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/1.371, allocations: 4 kB / 1.406 GB, free: 19.39 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001212/1.373, allocations: 0.9275 MB / 1.407 GB, free: 18.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.373, allocations: 8 kB / 1.407 GB, free: 18.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/1.373, allocations: 12 kB / 1.407 GB, free: 18.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/1.373, allocations: 201.5 kB / 1.407 GB, free: 18.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/1.373, allocations: 20.41 kB / 1.407 GB, free: 18.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007831/1.374, allocations: 195.4 kB / 1.407 GB, free: 18.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/1.374, allocations: 46.73 kB / 1.407 GB, free: 18.29 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.0002558/1.374, allocations: 193.5 kB / 1.408 GB, free: 18.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/1.374, allocations: 146.2 kB / 1.408 GB, free: 17.99 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/1.376, allocations: 0.7508 MB / 1.409 GB, free: 17.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/1.376, allocations: 8 kB / 1.409 GB, free: 17.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.376, allocations: 4 kB / 1.409 GB, free: 17.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/1.376, allocations: 3.984 kB / 1.409 GB, free: 17.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/1.378, allocations: 2.373 MB / 1.411 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/1.378, allocations: 0 / 1.411 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/1.379, allocations: 162.9 kB / 1.411 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-06/1.379, allocations: 8 kB / 1.411 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/1.379, allocations: 26.92 kB / 1.411 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/1.379, allocations: 4 kB / 1.411 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.379, allocations: 4 kB / 1.411 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/1.381, allocations: 1.567 MB / 1.413 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/1.381, allocations: 236.5 kB / 1.413 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/1.381, allocations: 30.19 kB / 1.413 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006695/1.382, allocations: 90.36 kB / 1.413 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/1.382, allocations: 92.16 kB / 1.413 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/1.382, allocations: 35.48 kB / 1.413 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008591/1.383, allocations: 0.7793 MB / 1.414 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.383, allocations: 0 / 1.414 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001395/1.384, allocations: 477.9 kB / 1.414 GB, free: 12.75 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.0002787/1.384, allocations: 188.2 kB / 1.414 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002122/1.387, allocations: 1.441 MB / 1.416 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.387, allocations: 1.938 kB / 1.416 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004833/1.387, allocations: 339.9 kB / 1.416 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/1.388, allocations: 253 kB / 1.416 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/1.391, allocations: 1.753 MB / 1.418 GB, free: 9.535 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007648/1.392, allocations: 1.224 MB / 1.419 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001256/1.393, allocations: 267 kB / 1.42 GB, free: 8.016 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/1.394, allocations: 87.34 kB / 1.42 GB, free: 7.934 MB / 0.8386 GB Notification: Performance of SimCode: time 2.805e-06/1.394, allocations: 0 / 1.42 GB, free: 7.934 MB / 0.8386 GB Notification: Performance of Templates: time 0.03164/1.425, allocations: 15.45 MB / 1.435 GB, free: 8.648 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.csv","../files/Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches