Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001365/0.001365, allocations: 110.8 kB / 16.42 MB, free: 6.473 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.001454/0.001454, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.478/1.478, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.537/2.537, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 67.89 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.039, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve): time 0.007421/1.047, allocations: 5.943 MB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004872/1.052, allocations: 2.042 MB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/1.053, allocations: 67.69 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006939/1.054, allocations: 241.2 kB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008728/1.055, allocations: 317.2 kB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/1.057, allocations: 0.7635 MB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002366/1.059, allocations: 2.088 MB / 1.178 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/1.061, allocations: 1.021 MB / 1.179 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/1.062, allocations: 0.8481 MB / 1.18 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006741/1.062, allocations: 0.75 MB / 1.181 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000248/1.063, allocations: 216 kB / 1.181 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/1.063, allocations: 228 kB / 1.181 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000325/1.063, allocations: 430.5 kB / 1.182 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007066/1.064, allocations: 0.8587 MB / 1.183 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002534/1.066, allocations: 2.56 MB / 1.185 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.067, allocations: 4 kB / 1.185 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.923e-06/1.067, allocations: 0 / 1.185 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.842e-05/1.067, allocations: 0 / 1.185 GB, free: 1.359 MB / 0.9044 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.003714/1.07, allocations: 2.082 MB / 1.187 GB, free: 15.21 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.07, allocations: 8.922 kB / 1.187 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003173/1.071, allocations: 207.7 kB / 1.187 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/1.073, allocations: 1.24 MB / 1.189 GB, free: 13.7 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.426e-05/1.073, allocations: 119.1 kB / 1.189 GB, free: 13.58 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/1.073, allocations: 152.4 kB / 1.189 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/1.075, allocations: 1.345 MB / 1.19 GB, free: 12.04 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/1.076, allocations: 3.938 kB / 1.19 GB, free: 12.04 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/1.076, allocations: 64 kB / 1.19 GB, free: 11.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/1.076, allocations: 32 kB / 1.19 GB, free: 11.95 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/1.077, allocations: 0.9487 MB / 1.191 GB, free: 11 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006733/1.084, allocations: 4.616 MB / 1.196 GB, free: 6.234 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/1.086, allocations: 0.6813 MB / 1.196 GB, free: 5.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000582/1.086, allocations: 328.3 kB / 1.197 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.446e-05/1.086, allocations: 15.98 kB / 1.197 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000773/1.087, allocations: 431.5 kB / 1.197 GB, free: 4.723 MB / 0.92 GB Notification: Performance of pre-optimization done (n=80): time 2.574e-06/1.087, allocations: 4 kB / 1.197 GB, free: 4.719 MB / 0.92 GB Notification: Performance of matching and sorting (n=80): time 0.001887/1.089, allocations: 0.8566 MB / 1.198 GB, free: 3.859 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/1.089, allocations: 144.5 kB / 1.198 GB, free: 3.688 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/1.09, allocations: 1.148 MB / 1.199 GB, free: 2.523 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/1.091, allocations: 61.7 kB / 1.199 GB, free: 2.457 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006413/1.091, allocations: 0.7865 MB / 1.2 GB, free: 1.664 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/1.091, allocations: 265.8 kB / 1.2 GB, free: 1.402 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003734/1.092, allocations: 250.8 kB / 1.201 GB, free: 1.152 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.092, allocations: 353.9 kB / 1.201 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000667/1.093, allocations: 326 kB / 1.201 GB, free: 488 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/1.094, allocations: 0.7212 MB / 1.202 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/1.095, allocations: 0.9536 MB / 1.203 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/1.095, allocations: 11.94 kB / 1.203 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002107/1.097, allocations: 1.185 MB / 1.204 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/1.097, allocations: 37.7 kB / 1.204 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/1.097, allocations: 12 kB / 1.204 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.099e-05/1.097, allocations: 16 kB / 1.204 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/1.098, allocations: 207.6 kB / 1.204 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.319e-05/1.098, allocations: 19.94 kB / 1.204 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008749/1.099, allocations: 183 kB / 1.205 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.6e-05/1.099, allocations: 59.98 kB / 1.205 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001017/1.1, allocations: 0.5416 MB / 1.205 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008244/1.101, allocations: 0.7048 MB / 1.206 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001202/1.102, allocations: 0.921 MB / 1.207 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.306e-06/1.102, allocations: 4 kB / 1.207 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=152) (initialization_lambda0): time 0.001802/1.104, allocations: 1.151 MB / 1.208 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/1.104, allocations: 36.05 kB / 1.208 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/1.104, allocations: 12 kB / 1.208 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/1.104, allocations: 16 kB / 1.208 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/1.105, allocations: 203.7 kB / 1.208 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/1.105, allocations: 19.94 kB / 1.208 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007661/1.105, allocations: 135.4 kB / 1.208 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.062e-05/1.106, allocations: 52 kB / 1.208 GB, free: 8.605 MB / 0.9356 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.0003862/1.106, allocations: 289.7 kB / 1.209 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/1.106, allocations: 139.1 kB / 1.209 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/1.108, allocations: 0.7242 MB / 1.209 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.108, allocations: 11.92 kB / 1.209 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.108, allocations: 4 kB / 1.209 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/1.108, allocations: 212 kB / 1.21 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/1.108, allocations: 24 kB / 1.21 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/1.109, allocations: 35.97 kB / 1.21 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/1.109, allocations: 59.91 kB / 1.21 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00171/1.11, allocations: 0.9837 MB / 1.211 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001918/1.112, allocations: 1.394 MB / 1.212 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005212/1.113, allocations: 281.8 kB / 1.212 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001169/1.114, allocations: 0.729 MB / 1.213 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of Backend: time 7.81e-07/1.114, allocations: 0 / 1.213 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003148/1.117, allocations: 1.317 MB / 1.214 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of SimCode: time 0.004975/1.122, allocations: 2.739 MB / 1.217 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of Templates: time 0.03827/1.16, allocations: 16.89 MB / 1.233 GB, free: 14.82 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches