Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.002105/0.002105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002622/0.002622, allocations: 193.2 kB / 16.14 MB, free: 6.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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.655/2.655, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001512, allocations: 71.89 kB / 0.8685 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7573/0.7588, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.003313/0.7622, allocations: 1.33 MB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004663/0.7669, allocations: 2.93 MB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.767, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.7671, allocations: 7.938 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.552e-05/0.7671, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006468/0.7678, allocations: 91.61 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.572e-05/0.7679, allocations: 43.84 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.7679, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000608/0.7685, allocations: 143.6 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.7686, allocations: 27.91 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.7686, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.7689, allocations: 63.83 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.7689, allocations: 7.984 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.7689, allocations: 19.92 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.7692, allocations: 61.83 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.7692, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7692, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.7692, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 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.0005233/0.7697, allocations: 347.5 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.7698, allocations: 12.02 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.7699, allocations: 8.844 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.77, allocations: 160.4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.77, allocations: 4.375 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.7701, allocations: 8.375 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.7702, allocations: 61.72 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.7703, allocations: 3.938 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.7703, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.7703, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.391e-05/0.7704, allocations: 23.98 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.7706, allocations: 165.7 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.7707, allocations: 46.56 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.7707, allocations: 16.84 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000913/0.7717, allocations: 0.6063 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.7717, allocations: 34.56 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.7717, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006875/0.7724, allocations: 294.3 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.7725, allocations: 59.41 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.7726, allocations: 97.84 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.7726, allocations: 29.7 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.7727, allocations: 91.98 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.7727, allocations: 27.61 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.7727, allocations: 25.72 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.7729, allocations: 314.8 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.423e-05/0.7729, allocations: 15.98 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/0.773, allocations: 57.08 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.432e-05/0.7731, allocations: 77.27 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.7731, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001653/0.7733, allocations: 93.58 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.7733, allocations: 6.031 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7733, allocations: 8.422 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.7733, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.7734, allocations: 20 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.7734, allocations: 3.938 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.7735, allocations: 15.94 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.7735, allocations: 4 kB / 1.024 GB, free: 10.96 MB / 0.7794 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 9.836e-05/0.7736, allocations: 118.3 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.7736, allocations: 12 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.7737, allocations: 11.91 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7737, allocations: 0 / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.7737, allocations: 4 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.7737, allocations: 3.938 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.774, allocations: 173.7 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.774, allocations: 0 / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.375e-05/0.7741, allocations: 15.94 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.7741, allocations: 3.984 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.7741, allocations: 4 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.7741, allocations: 11.94 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7741, allocations: 0 / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.7743, allocations: 163.5 kB / 1.024 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.7744, allocations: 89.05 kB / 1.024 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.7744, allocations: 0 / 1.024 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.7745, allocations: 0 / 1.024 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.7746, allocations: 11.98 kB / 1.024 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.7746, allocations: 7.938 kB / 1.024 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.7746, allocations: 79.28 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7747, allocations: 0 / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002441/0.7749, allocations: 16 kB / 1.025 GB, free: 10.15 MB / 0.7794 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.0001803/0.7751, allocations: 103.2 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.7752, allocations: 43.91 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7752, allocations: 0 / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.639e-05/0.7753, allocations: 20.23 kB / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.7756, allocations: 8 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006771/0.7763, allocations: 328.3 kB / 1.025 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.7767, allocations: 0.6887 MB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.919e-05/0.7768, allocations: 11.98 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.7768, allocations: 11.44 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.7768, allocations: 0 / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of Templates: time 0.003286/0.7801, allocations: 0.6021 MB / 1.026 GB, free: 8.285 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches