Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 176 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008037/0.0008037, allocations: 100.5 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 10.28 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2459, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.4352, allocations: 138.2 MB / 1.035 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.4355, allocations: 95.88 kB / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5575/0.9931, allocations: 26.22 MB / 1.061 GB, free: 139.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.377e-06/0.9931, allocations: 0 / 1.061 GB, free: 139.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.322e-05/0.9932, allocations: 34.25 kB / 1.061 GB, free: 139.3 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.003488/0.9967, allocations: 1.935 MB / 1.063 GB, free: 138.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.9968, allocations: 9.188 kB / 1.063 GB, free: 138.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003388/0.9971, allocations: 212.2 kB / 1.063 GB, free: 138.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/0.9995, allocations: 1.249 MB / 1.064 GB, free: 137.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.82e-05/0.9996, allocations: 118.3 kB / 1.064 GB, free: 137.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.9997, allocations: 155.5 kB / 1.064 GB, free: 137.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/1.002, allocations: 1.478 MB / 1.066 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/1.002, allocations: 2.531 kB / 1.066 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/1.003, allocations: 69.72 kB / 1.066 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/1.003, allocations: 35.16 kB / 1.066 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/1.005, allocations: 1.153 MB / 1.067 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008394/1.014, allocations: 4.767 MB / 1.072 GB, free: 136.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/1.016, allocations: 0.9577 MB / 1.073 GB, free: 136.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.944e-05/1.016, allocations: 17.08 kB / 1.073 GB, free: 136.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/1.017, allocations: 0.5359 MB / 1.073 GB, free: 136.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 4.298e-06/1.017, allocations: 0 / 1.073 GB, free: 136.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.002916/1.02, allocations: 1.184 MB / 1.074 GB, free: 136 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.977e-05/1.02, allocations: 249 kB / 1.075 GB, free: 135.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/1.022, allocations: 1.194 MB / 1.076 GB, free: 135.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/1.022, allocations: 63.98 kB / 1.076 GB, free: 135.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006313/1.023, allocations: 0.8027 MB / 1.077 GB, free: 135.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/1.023, allocations: 271.4 kB / 1.077 GB, free: 135.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/1.023, allocations: 20.41 kB / 1.077 GB, free: 135.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/1.023, allocations: 348.5 kB / 1.077 GB, free: 134.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007832/1.024, allocations: 391.3 kB / 1.078 GB, free: 134.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009433/1.025, allocations: 0.7194 MB / 1.078 GB, free: 134.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008753/1.026, allocations: 432.9 kB / 1.079 GB, free: 134.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.026, allocations: 2.906 kB / 1.079 GB, free: 134.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002358/1.028, allocations: 1.22 MB / 1.08 GB, free: 134.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004859/1.028, allocations: 2.802 MB / 1.083 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.028, allocations: 6.469 kB / 1.083 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/1.028, allocations: 12.88 kB / 1.083 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008536/1.029, allocations: 241.2 kB / 1.083 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/1.029, allocations: 15.56 kB / 1.083 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/1.03, allocations: 213.8 kB / 1.083 GB, free: 131.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.419e-05/1.031, allocations: 41.41 kB / 1.083 GB, free: 131.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.445e-06/1.031, allocations: 6.969 kB / 1.083 GB, free: 131.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001541/1.032, allocations: 0.9168 MB / 1.084 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.032, allocations: 7.312 kB / 1.084 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.032, allocations: 13.81 kB / 1.084 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/1.033, allocations: 206.5 kB / 1.084 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/1.033, allocations: 14.34 kB / 1.084 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008146/1.034, allocations: 171.3 kB / 1.084 GB, free: 130.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/1.034, allocations: 41.44 kB / 1.084 GB, free: 130.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,cooVal.uFanSta,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.pulseStart,uSupFan.pulseStart,$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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * 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.0009399/1.035, allocations: 443.7 kB / 1.085 GB, free: 130.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/1.035, allocations: 154.9 kB / 1.085 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/1.037, allocations: 0.9553 MB / 1.086 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/1.037, allocations: 12.02 kB / 1.086 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.037, allocations: 1.188 kB / 1.086 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.037, allocations: 8.5 kB / 1.086 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004059/1.041, allocations: 2.576 MB / 1.088 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/1.041, allocations: 1.969 kB / 1.088 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006182/1.042, allocations: 160.9 kB / 1.089 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/1.042, allocations: 9.906 kB / 1.089 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.479e-05/1.042, allocations: 22.86 kB / 1.089 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/1.042, allocations: 6.469 kB / 1.089 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.042, allocations: 3.094 kB / 1.089 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/1.044, allocations: 1.839 MB / 1.09 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/1.044, allocations: 246.5 kB / 1.091 GB, free: 128.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/1.044, allocations: 30.05 kB / 1.091 GB, free: 128.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006972/1.045, allocations: 91.8 kB / 1.091 GB, free: 128.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/1.045, allocations: 92.38 kB / 1.091 GB, free: 128.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/1.045, allocations: 32.95 kB / 1.091 GB, free: 128.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001008/1.046, allocations: 0.9055 MB / 1.092 GB, free: 128.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.046, allocations: 0 / 1.092 GB, free: 128.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001461/1.048, allocations: 468.2 kB / 1.092 GB, free: 128 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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,$whenCondition5,$whenCondition4,cooVal.uFanSta,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.pulseStart) * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 86 * 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.000299/1.048, allocations: 150.5 kB / 1.092 GB, free: 127.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002621/1.051, allocations: 1.423 MB / 1.094 GB, free: 127.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.051, allocations: 0.5 kB / 1.094 GB, free: 127.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007544/1.052, allocations: 439.6 kB / 1.094 GB, free: 127.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/1.053, allocations: 297.3 kB / 1.094 GB, free: 127.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/1.057, allocations: 2.94 MB / 1.097 GB, free: 125.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/1.057, allocations: 1.259 MB / 1.099 GB, free: 124.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009818/1.058, allocations: 234.3 kB / 1.099 GB, free: 124.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/1.059, allocations: 119.7 kB / 1.099 GB, free: 124.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/1.059, allocations: 0 / 1.099 GB, free: 124.6 MB / 0.698 GB Notification: Performance of Templates: time 0.02241/1.081, allocations: 13.37 MB / 1.112 GB, free: 116.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches