Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006649/0.00665, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001502/0.001503, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 62.22 kB / 0.9508 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3482, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002567/0.3508, allocations: 1.267 MB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003715/0.3546, allocations: 2.928 MB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.3546, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.349e-05/0.3547, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.464e-05/0.3547, allocations: 7.922 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.3552, allocations: 99.55 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.603e-05/0.3553, allocations: 43.84 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.3553, allocations: 3.984 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/0.3558, allocations: 155.5 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.421e-05/0.3558, allocations: 19.92 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.3559, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.356, allocations: 67.81 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.356, allocations: 7.984 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.3561, allocations: 19.92 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.3563, allocations: 67.8 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3563, allocations: 4 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3563, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3563, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 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.0004101/0.3567, allocations: 343.5 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3568, allocations: 8.031 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.3568, allocations: 8.844 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.357, allocations: 164.3 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.357, allocations: 4.375 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.357, allocations: 12.38 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.3572, allocations: 53.8 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3572, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3572, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3572, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.01e-05/0.3573, allocations: 19.98 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.3575, allocations: 169.6 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.3576, allocations: 50.58 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.3576, allocations: 21 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007323/0.3584, allocations: 0.6023 MB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.3584, allocations: 30.56 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3584, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006275/0.359, allocations: 306.6 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.3591, allocations: 51.41 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.3592, allocations: 105.8 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.3592, allocations: 25.7 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.3593, allocations: 96.05 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.3593, allocations: 31.55 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.3594, allocations: 21.72 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3595, allocations: 322.8 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.3595, allocations: 16 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.3596, allocations: 53.08 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.333e-05/0.3597, allocations: 77.08 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.3597, allocations: 0 / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001293/0.3599, allocations: 93.55 kB / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3599, allocations: 8 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3599, allocations: 0 / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3599, allocations: 4 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.36, allocations: 19.94 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.36, allocations: 128 / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.3601, allocations: 11.94 kB / 1.095 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.3601, allocations: 8.078 kB / 1.095 GB, free: 9.676 MB / 0.8575 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.812e-05/0.3602, allocations: 117.8 kB / 1.095 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.3602, allocations: 3.906 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.3602, allocations: 11.91 kB / 1.095 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3602, allocations: 7.938 kB / 1.095 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3603, allocations: 0 / 1.095 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3603, allocations: 3.938 kB / 1.095 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.3605, allocations: 173.7 kB / 1.095 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3605, allocations: 0 / 1.095 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.712e-05/0.3606, allocations: 15.98 kB / 1.095 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3606, allocations: 0 / 1.095 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3606, allocations: 8 kB / 1.095 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3606, allocations: 3.984 kB / 1.095 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3606, allocations: 0 / 1.095 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.3608, allocations: 175.4 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.574e-05/0.3609, allocations: 85.02 kB / 1.096 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.361, allocations: 7.938 kB / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3611, allocations: 4 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.3611, allocations: 3.984 kB / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3611, allocations: 16 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.3611, allocations: 75.66 kB / 1.096 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3612, allocations: 0 / 1.096 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00024/0.3614, allocations: 16 kB / 1.096 GB, free: 8.867 MB / 0.8575 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.0001503/0.3616, allocations: 111.4 kB / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.3617, allocations: 39.92 kB / 1.096 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3617, allocations: 4 kB / 1.096 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.179e-05/0.3617, allocations: 11.94 kB / 1.096 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.362, allocations: 8 kB / 1.096 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005708/0.3626, allocations: 326.4 kB / 1.096 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.3629, allocations: 0.6923 MB / 1.097 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.363, allocations: 4 kB / 1.097 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.363, allocations: 11.44 kB / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.363, allocations: 0 / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of Templates: time 0.002934/0.3659, allocations: 0.6283 MB / 1.098 GB, free: 6.98 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches