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/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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001814/0.001815, allocations: 109.5 kB / 16.42 MB, free: 6.504 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.001914/0.001914, allocations: 190.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.727/2.727, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.89 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8955/0.897, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve): time 0.008629/0.9057, allocations: 5.92 MB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005306/0.9111, allocations: 2.056 MB / 1.216 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.9132, allocations: 63.75 kB / 1.216 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.9143, allocations: 245.2 kB / 1.217 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.916, allocations: 309.2 kB / 1.217 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.918, allocations: 0.7677 MB / 1.218 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002676/0.9207, allocations: 2.076 MB / 1.22 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.9225, allocations: 1.029 MB / 1.221 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.9238, allocations: 0.8442 MB / 1.221 GB, free: 204 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.9249, allocations: 0.7501 MB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005428/0.9254, allocations: 212 kB / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.926, allocations: 236 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004736/0.9264, allocations: 426.6 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.9276, allocations: 0.8625 MB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002747/0.9304, allocations: 2.547 MB / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.9304, allocations: 7.875 kB / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9304, allocations: 0 / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.73e-05/0.9305, allocations: 0 / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 360 * Number of variables: 360 Notification: Performance of Generate backend data structure: time 0.004697/0.9352, allocations: 2.029 MB / 1.228 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.9352, allocations: 8.031 kB / 1.228 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005098/0.9358, allocations: 206.5 kB / 1.229 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.9383, allocations: 1.223 MB / 1.23 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/0.9384, allocations: 115.2 kB / 1.23 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.9386, allocations: 152.4 kB / 1.23 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.9409, allocations: 1.345 MB / 1.231 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.9409, allocations: 3.938 kB / 1.231 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.941, allocations: 60 kB / 1.231 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.941, allocations: 39.94 kB / 1.231 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.9427, allocations: 0.9487 MB / 1.232 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006512/0.9493, allocations: 4.591 MB / 1.237 GB, free: 136 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.9506, allocations: 0.6786 MB / 1.237 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/0.9512, allocations: 335.2 kB / 1.238 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.143e-05/0.9512, allocations: 11.98 kB / 1.238 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007644/0.952, allocations: 443.6 kB / 1.238 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=80): time 3.727e-06/0.952, allocations: 0 / 1.238 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=80): time 0.001773/0.9538, allocations: 0.8529 MB / 1.239 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.9539, allocations: 144.5 kB / 1.239 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.9553, allocations: 1.144 MB / 1.24 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.581e-05/0.9554, allocations: 57.7 kB / 1.24 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005836/0.956, allocations: 0.7689 MB / 1.241 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.9562, allocations: 256.5 kB / 1.241 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003621/0.9566, allocations: 250.7 kB / 1.242 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.9567, allocations: 349.9 kB / 1.242 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006732/0.9574, allocations: 338 kB / 1.242 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008812/0.9583, allocations: 0.725 MB / 1.243 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.9597, allocations: 0.9555 MB / 1.244 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.9597, allocations: 0 / 1.244 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002091/0.9618, allocations: 1.177 MB / 1.245 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/0.9619, allocations: 45.62 kB / 1.245 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.9619, allocations: 8 kB / 1.245 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.719e-05/0.962, allocations: 16 kB / 1.245 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007254/0.9627, allocations: 216.1 kB / 1.245 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.923e-05/0.9627, allocations: 23.94 kB / 1.245 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/0.9636, allocations: 170.4 kB / 1.245 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.825e-05/0.9637, allocations: 59.98 kB / 1.246 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008939/0.9646, allocations: 0.5377 MB / 1.246 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007916/0.9654, allocations: 0.7048 MB / 1.247 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001183/0.9666, allocations: 0.9271 MB / 1.248 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.669e-06/0.9666, allocations: 4 kB / 1.248 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=152) (initialization_lambda0): time 0.001813/0.9684, allocations: 1.138 MB / 1.249 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.9685, allocations: 41.7 kB / 1.249 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.9685, allocations: 16 kB / 1.249 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.9685, allocations: 16 kB / 1.249 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.9692, allocations: 196.2 kB / 1.249 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.893e-05/0.9692, allocations: 23.88 kB / 1.249 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008041/0.97, allocations: 135.1 kB / 1.249 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.145e-05/0.9701, allocations: 56 kB / 1.249 GB, free: 2.527 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition4,$whenCondition5,uSupFan.y,$PRE.uSupFan.y,cooVal.cha.u,$PRE.cooVal.cha.u,cooVal.andOutAirFanFee.y,cooVal.uFanFeeThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.TOutThr.y,$PRE.cooVal.TOutThr.y,cooVal.limPI.trigger,$whenCondition6,uSupFan3.y,cooVal3.cha.u,$PRE.cooVal3.cha.u,cooVal3.uFanFeeThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.TOutThr.y,cooVal3.limPI.trigger,$whenCondition3,uSupFan2.y,cooVal2.cha.u,$PRE.cooVal2.cha.u,cooVal2.uFanFeeThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.TOutThr.y,cooVal2.limPI.trigger,$whenCondition2,uSupFan1.y,cooVal1.cha.u,$PRE.cooVal1.cha.u,cooVal1.uFanFeeThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.TOutThr.y,cooVal1.limPI.trigger,$whenCondition1,cooVal3.limPI.cheYMinMax.y,cooVal2.limPI.cheYMinMax.y,cooVal1.limPI.cheYMinMax.y,cooVal.limPI.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002918/0.9704, allocations: 267.9 kB / 1.249 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.9706, allocations: 146.2 kB / 1.25 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.9721, allocations: 0.7197 MB / 1.25 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.9721, allocations: 7.922 kB / 1.25 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.9721, allocations: 0 / 1.25 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.9724, allocations: 207.2 kB / 1.251 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.9725, allocations: 27.98 kB / 1.251 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.973, allocations: 35.97 kB / 1.251 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.9731, allocations: 75.8 kB / 1.251 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00161/0.9748, allocations: 0.9608 MB / 1.252 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001916/0.9767, allocations: 1.384 MB / 1.253 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005086/0.9772, allocations: 293.6 kB / 1.253 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009011/0.9781, allocations: 0.7368 MB / 1.254 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of Backend: time 4.41e-07/0.9781, allocations: 4 kB / 1.254 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00269/0.9808, allocations: 1.316 MB / 1.255 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of SimCode: time 0.004068/0.9849, allocations: 2.687 MB / 1.258 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of Templates: time 0.03218/1.017, allocations: 17.31 MB / 1.275 GB, free: 8.398 MB / 0.9981 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches