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.008766/0.008766, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001933/0.001933, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.835/2.835, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 59.91 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3582, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002165/0.3604, allocations: 1.264 MB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003624/0.364, allocations: 2.934 MB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.364, allocations: 0 / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.3641, allocations: 0 / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.258e-05/0.3641, allocations: 7.922 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.3647, allocations: 107.5 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.098e-05/0.3648, allocations: 27.92 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.94e-05/0.3648, allocations: 11.98 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.3653, allocations: 155.5 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.774e-05/0.3654, allocations: 19.92 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.3654, allocations: 0 / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.3656, allocations: 75.8 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.3656, allocations: 4 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.3656, allocations: 11.94 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.3658, allocations: 67.78 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3658, allocations: 0 / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3658, allocations: 0 / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.3659, allocations: 4 kB / 1.212 GB, free: 4.965 MB / 0.9669 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.000439/0.3663, allocations: 347.5 kB / 1.213 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3663, allocations: 16.56 kB / 1.213 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.3664, allocations: 0.9375 kB / 1.213 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.3665, allocations: 172.3 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3665, allocations: 384 / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.3666, allocations: 8.375 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.3667, allocations: 53.8 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3667, allocations: 4 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3667, allocations: 7.984 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.3667, allocations: 4 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.733e-05/0.3668, allocations: 15.97 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.367, allocations: 173.5 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.707e-05/0.3671, allocations: 54.5 kB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.3671, allocations: 16.84 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006998/0.3678, allocations: 0.5869 MB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.3679, allocations: 34.56 kB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3679, allocations: 4 kB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0005879/0.3685, allocations: 302.4 kB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.3685, allocations: 59.34 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.157e-05/0.3686, allocations: 105.8 kB / 1.214 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3686, allocations: 25.7 kB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.3687, allocations: 88.05 kB / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.3687, allocations: 27.64 kB / 1.214 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.3688, allocations: 21.72 kB / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3689, allocations: 322.8 kB / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.875e-05/0.3689, allocations: 12 kB / 1.215 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/0.369, allocations: 57.14 kB / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.204e-05/0.3691, allocations: 69.08 kB / 1.215 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.3691, allocations: 4 kB / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001329/0.3692, allocations: 93.47 kB / 1.215 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3693, allocations: 7.984 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3693, allocations: 0 / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3693, allocations: 4 kB / 1.215 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.3694, allocations: 23.94 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3694, allocations: 4 kB / 1.215 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.3694, allocations: 4.375 kB / 1.215 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.3694, allocations: 4.125 kB / 1.215 GB, free: 1.863 MB / 0.9669 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 8.919e-05/0.3695, allocations: 125.8 kB / 1.215 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.3696, allocations: 4 kB / 1.215 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.3696, allocations: 7.969 kB / 1.215 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3696, allocations: 4.281 kB / 1.215 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3696, allocations: 0 / 1.215 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3696, allocations: 7.875 kB / 1.215 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.3699, allocations: 173.7 kB / 1.215 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3699, allocations: 3.984 kB / 1.215 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.437e-05/0.37, allocations: 19.98 kB / 1.215 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.37, allocations: 4 kB / 1.215 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.37, allocations: 3.938 kB / 1.215 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.37, allocations: 0 / 1.215 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.37, allocations: 0 / 1.215 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.3702, allocations: 179.3 kB / 1.215 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.3703, allocations: 81.14 kB / 1.215 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.3703, allocations: 0 / 1.215 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3704, allocations: 12 kB / 1.215 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.3704, allocations: 7.984 kB / 1.215 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.3705, allocations: 3.938 kB / 1.215 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.401e-05/0.3705, allocations: 79.28 kB / 1.216 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3705, allocations: 0 / 1.216 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002399/0.3708, allocations: 12 kB / 1.216 GB, free: 1.059 MB / 0.9669 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.0001335/0.3709, allocations: 103.2 kB / 1.216 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.371, allocations: 47.92 kB / 1.216 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.371, allocations: 0 / 1.216 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.616e-05/0.3711, allocations: 19.94 kB / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.3714, allocations: 4 kB / 1.216 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.372, allocations: 330.7 kB / 1.216 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.3723, allocations: 0.6807 MB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.841e-05/0.3723, allocations: 15.97 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.3723, allocations: 11.44 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.3724, allocations: 0 / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of Templates: time 0.002826/0.3752, allocations: 0.6233 MB / 1.217 GB, free: 15.17 MB / 0.9825 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