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.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.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.006794/0.006794, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001592/0.001592, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.789/2.789, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9568/0.9581, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002929/0.9611, allocations: 1.264 MB / 1.209 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005023/0.9662, allocations: 2.926 MB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.9663, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.9664, allocations: 3.984 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.489e-05/0.9664, allocations: 7.938 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.967, allocations: 99.55 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.413e-05/0.9671, allocations: 39.84 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.949e-05/0.9672, allocations: 7.938 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005719/0.9677, allocations: 155.5 kB / 1.212 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.014e-05/0.9678, allocations: 19.97 kB / 1.212 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.9678, allocations: 4 kB / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.968, allocations: 59.89 kB / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.968, allocations: 3.938 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.9681, allocations: 23.91 kB / 1.212 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.9682, allocations: 59.73 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9683, allocations: 4 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9683, allocations: 0 / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.9683, allocations: 0 / 1.212 GB, free: 8.906 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.0005689/0.9689, allocations: 355.3 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.9689, allocations: 8.031 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.969, allocations: 4.938 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.9691, allocations: 162.2 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.9691, allocations: 384 / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.9692, allocations: 12.38 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.9693, allocations: 57.78 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.9694, allocations: 0 / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.9694, allocations: 8 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.9694, allocations: 0 / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.465e-05/0.9695, allocations: 19.97 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.9697, allocations: 173.5 kB / 1.213 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.9698, allocations: 54.55 kB / 1.213 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.9699, allocations: 20.86 kB / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009283/0.9708, allocations: 0.5871 MB / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.9709, allocations: 34.56 kB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.9709, allocations: 0 / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0007637/0.9716, allocations: 306.2 kB / 1.214 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.9717, allocations: 51.41 kB / 1.214 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.77e-05/0.9718, allocations: 105.8 kB / 1.214 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.9718, allocations: 33.7 kB / 1.214 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.9719, allocations: 84.08 kB / 1.214 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.9719, allocations: 27.61 kB / 1.214 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.9719, allocations: 29.7 kB / 1.214 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.9721, allocations: 314.8 kB / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.035e-05/0.9722, allocations: 19.94 kB / 1.215 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.287e-05/0.9722, allocations: 53.08 kB / 1.215 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.114e-05/0.9723, allocations: 81.02 kB / 1.215 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.9724, allocations: 0 / 1.215 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00014/0.9725, allocations: 97.45 kB / 1.215 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.9725, allocations: 7.938 kB / 1.215 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.9725, allocations: 4 kB / 1.215 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.9725, allocations: 0 / 1.215 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.9726, allocations: 19.98 kB / 1.215 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.9726, allocations: 4.125 kB / 1.215 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/0.9727, allocations: 11.94 kB / 1.215 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.9727, allocations: 4 kB / 1.215 GB, free: 5.789 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 0.0001049/0.9728, allocations: 121.7 kB / 1.215 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.9728, allocations: 4 kB / 1.215 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.9729, allocations: 7.969 kB / 1.215 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.9729, allocations: 0 / 1.215 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9729, allocations: 0 / 1.215 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.9729, allocations: 3.938 kB / 1.215 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.9733, allocations: 178.2 kB / 1.215 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.9733, allocations: 0 / 1.215 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.9734, allocations: 23.98 kB / 1.215 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.9734, allocations: 0 / 1.215 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.9734, allocations: 4 kB / 1.215 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9735, allocations: 0 / 1.215 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9735, allocations: 80 / 1.215 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.9737, allocations: 183.3 kB / 1.215 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.9738, allocations: 77.11 kB / 1.215 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.9738, allocations: 12.03 kB / 1.215 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.9739, allocations: 0 / 1.215 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.9739, allocations: 4 kB / 1.215 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.9739, allocations: 7.938 kB / 1.215 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.113e-05/0.974, allocations: 83.64 kB / 1.216 GB, free: 5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.974, allocations: 3.938 kB / 1.216 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000236/0.9742, allocations: 16 kB / 1.216 GB, free: 4.98 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001958/0.9744, allocations: 99.39 kB / 1.216 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.9746, allocations: 47.91 kB / 1.216 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9746, allocations: 0 / 1.216 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.931e-05/0.9746, allocations: 23.91 kB / 1.216 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.9749, allocations: 8 kB / 1.216 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.9756, allocations: 314.5 kB / 1.216 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.976, allocations: 0.6885 MB / 1.217 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.335e-05/0.976, allocations: 0 / 1.217 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.9761, allocations: 11.44 kB / 1.217 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.9761, allocations: 0 / 1.217 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of Templates: time 0.003539/0.9796, allocations: 0.6393 MB / 1.217 GB, free: 3.094 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches