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.001073/0.001073, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001403/0.001403, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 223.3 MB / 240 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.889/2.889, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004126, allocations: 6.312 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3615, allocations: 159.6 MB / 1.058 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001359/0.3629, allocations: 0.9783 MB / 1.059 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003675/0.3666, allocations: 2.745 MB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.3666, allocations: 0 / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.3666, allocations: 3.938 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.641e-05/0.3667, allocations: 4 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.3672, allocations: 83.62 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.215e-05/0.3673, allocations: 31.91 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.3673, allocations: 4 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00049/0.3678, allocations: 143.5 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.3679, allocations: 23.91 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.3679, allocations: 4 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.368, allocations: 35.92 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.3681, allocations: 8 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.3681, allocations: 33.64 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.3682, allocations: 36.23 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3682, allocations: 0 / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3682, allocations: 0 / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3683, allocations: 3.938 kB / 1.062 GB, free: 1.207 MB / 0.8106 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.0003699/0.3686, allocations: 343.3 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3687, allocations: 8.031 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.3687, allocations: 4 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.3688, allocations: 167 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3688, allocations: 4 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.3689, allocations: 11.91 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.369, allocations: 49.67 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.369, allocations: 4 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3691, allocations: 3.938 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3691, allocations: 4 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.22e-05/0.3691, allocations: 15.98 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.3693, allocations: 169.6 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.021e-05/0.3694, allocations: 54.56 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.3695, allocations: 12.84 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007262/0.3702, allocations: 0.5948 MB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.3702, allocations: 34.56 kB / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.3702, allocations: 0 / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000568/0.3708, allocations: 302.1 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.3708, allocations: 55.36 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.3709, allocations: 102 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3709, allocations: 25.7 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.371, allocations: 92.05 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.371, allocations: 23.64 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.371, allocations: 4 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3711, allocations: 318.8 kB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.3712, allocations: 11.98 kB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.84e-05/0.3712, allocations: 53.14 kB / 1.064 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.558e-05/0.3713, allocations: 31.97 kB / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3713, allocations: 0 / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001313/0.3714, allocations: 93.45 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3715, allocations: 4 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3715, allocations: 4 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.3715, allocations: 0 / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.485e-05/0.3716, allocations: 19.98 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.3716, allocations: 11.89 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.3716, allocations: 4 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3716, allocations: 8.125 kB / 1.065 GB, free: 14.21 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.569e-05/0.3717, allocations: 113.8 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.3717, allocations: 4 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.3718, allocations: 7.969 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3718, allocations: 3.938 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3718, allocations: 0 / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3718, allocations: 3.953 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.372, allocations: 173.7 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.372, allocations: 3.938 kB / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-05/0.3721, allocations: 23.98 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3722, allocations: 448 / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3722, allocations: 4 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3722, allocations: 3.938 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3722, allocations: 4 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.3724, allocations: 179.5 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.3724, allocations: 77.11 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.3724, allocations: 0 / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.809e-05/0.3725, allocations: 12.03 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.3726, allocations: 4 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3726, allocations: 4 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.3726, allocations: 83.27 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3726, allocations: 0 / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002461/0.3729, allocations: 12 kB / 1.065 GB, free: 13.42 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001188/0.373, allocations: 103.2 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.3731, allocations: 47.91 kB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3731, allocations: 4 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.096e-05/0.3732, allocations: 8 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3734, allocations: 15.94 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.374, allocations: 391 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.3743, allocations: 0.6809 MB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.982e-05/0.3743, allocations: 11.98 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.3744, allocations: 11.44 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of SimCode: time 1.884e-06/0.3744, allocations: 0 / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of Templates: time 0.002706/0.3771, allocations: 0.5757 MB / 1.067 GB, free: 11.52 MB / 0.8262 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