Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 111.1 kB / 16.42 MB, free: 6.48 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.001563/0.001563, allocations: 191.8 kB / 17.35 MB, free: 5.75 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.283/1.283, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.464/2.464, allocations: 461.7 MB / 0.7352 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 68.33 kB / 1.054 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6519/0.6532, allocations: 157.4 MB / 1.208 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001937/0.6551, allocations: 1.271 MB / 1.209 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003147/0.6583, allocations: 2.922 MB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.6583, allocations: 0 / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.6583, allocations: 0 / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.769e-05/0.6584, allocations: 3.938 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.6588, allocations: 99.48 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.398e-05/0.6589, allocations: 47.83 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 2.954e-05/0.6589, allocations: 4 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00039/0.6593, allocations: 155.5 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.6594, allocations: 15.91 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.6594, allocations: 4 kB / 1.213 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.6596, allocations: 63.83 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.6596, allocations: 11.97 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.6596, allocations: 11.94 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.6598, allocations: 67.66 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6598, allocations: 3.984 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6598, allocations: 8 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.6598, allocations: 0 / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003616/0.6602, allocations: 339.5 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.6602, allocations: 8.031 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.6602, allocations: 4.938 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.396e-05/0.6603, allocations: 162.2 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.6604, allocations: 8.297 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.6604, allocations: 8.375 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.6605, allocations: 57.8 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.6605, allocations: 0 / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.6605, allocations: 7.984 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.6605, allocations: 0 / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/0.6606, allocations: 15.98 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.6607, allocations: 169.5 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.738e-05/0.6608, allocations: 58.48 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.6609, allocations: 16.86 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006285/0.6615, allocations: 0.5987 MB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.6615, allocations: 38.56 kB / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.6616, allocations: 0 / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0005195/0.6621, allocations: 294.3 kB / 1.214 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.6621, allocations: 59.41 kB / 1.215 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.628e-05/0.6622, allocations: 97.77 kB / 1.215 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.6622, allocations: 33.7 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.6622, allocations: 88.06 kB / 1.215 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.6623, allocations: 27.69 kB / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.6623, allocations: 33.64 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.6624, allocations: 314.8 kB / 1.215 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.901e-05/0.6625, allocations: 15.98 kB / 1.215 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.877e-05/0.6625, allocations: 53.14 kB / 1.215 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.937e-05/0.6626, allocations: 73.09 kB / 1.215 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6626, allocations: 7.938 kB / 1.215 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001305/0.6627, allocations: 93.45 kB / 1.215 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.6628, allocations: 4 kB / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6628, allocations: 4 kB / 1.215 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.6628, allocations: 0 / 1.215 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/0.6629, allocations: 23.92 kB / 1.215 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.6629, allocations: 4 kB / 1.215 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.6629, allocations: 4.125 kB / 1.215 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.6629, allocations: 11.94 kB / 1.215 GB, free: 5.906 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 7.497e-05/0.663, allocations: 119.5 kB / 1.215 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.6631, allocations: 4 kB / 1.215 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.6631, allocations: 7.969 kB / 1.215 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.6631, allocations: 4.266 kB / 1.216 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6631, allocations: 0 / 1.216 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.6631, allocations: 88.98 kB / 1.216 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.6632, allocations: 7.922 kB / 1.216 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.6633, allocations: 8 kB / 1.216 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.6633, allocations: 7.984 kB / 1.216 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001515/0.6635, allocations: 144.9 kB / 1.216 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001932/0.6637, allocations: 258.7 kB / 1.216 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.125e-05/0.6637, allocations: 16.27 kB / 1.216 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.6637, allocations: 75.28 kB / 1.216 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of Backend: time 2.81e-07/0.6638, allocations: 4 kB / 1.216 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004002/0.6642, allocations: 138.7 kB / 1.216 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006009/0.6648, allocations: 0.7576 MB / 1.217 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of Templates: time 0.003037/0.6678, allocations: 0.945 MB / 1.218 GB, free: 3.227 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches