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.001105/0.001105, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001377/0.001377, allocations: 177.3 kB / 15.94 MB, free: 228 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.359/1.359, allocations: 223.2 MB / 239.9 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.677/2.677, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003639, allocations: 8 kB / 0.8707 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.663, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001247/0.6643, allocations: 0.9721 MB / 1.022 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003215/0.6676, allocations: 2.551 MB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.6676, allocations: 0 / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.6676, allocations: 3.938 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.721e-05/0.6677, allocations: 11.97 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.6681, allocations: 79.78 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.6681, allocations: 27.91 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.6682, allocations: 3.984 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.6686, allocations: 143.7 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.6687, allocations: 19.92 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.6687, allocations: 4 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.6689, allocations: 47.97 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.6689, allocations: 7.984 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.6689, allocations: 33.64 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.669, allocations: 31.95 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.669, allocations: 3.938 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.669, allocations: 0 / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.6691, allocations: 0 / 1.025 GB, free: 13.15 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.000373/0.6694, allocations: 341.2 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.6695, allocations: 11.98 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.6695, allocations: 8 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.416e-05/0.6696, allocations: 159.1 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.6696, allocations: 3.953 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.6697, allocations: 8 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.6698, allocations: 49.67 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.6698, allocations: 0 / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.6698, allocations: 3.938 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.6698, allocations: 7.984 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.6699, allocations: 23.91 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.6701, allocations: 169.6 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.75e-05/0.6702, allocations: 54.5 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/0.6709, allocations: 0.5871 MB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.6709, allocations: 38.5 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.6709, allocations: 4 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0005604/0.6715, allocations: 294.2 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.6715, allocations: 55.41 kB / 1.026 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.305e-05/0.6716, allocations: 97.84 kB / 1.026 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.6716, allocations: 29.7 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.6717, allocations: 84.09 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.6717, allocations: 35.62 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.6717, allocations: 0 / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6719, allocations: 322.8 kB / 1.027 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-05/0.6719, allocations: 12 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.728e-05/0.672, allocations: 45.14 kB / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.14e-05/0.6721, allocations: 31.92 kB / 1.027 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6721, allocations: 0 / 1.027 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000216/0.6723, allocations: 89.47 kB / 1.027 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.6723, allocations: 11.98 kB / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.6724, allocations: 0 / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.6724, allocations: 4 kB / 1.027 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.6725, allocations: 23.94 kB / 1.027 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.6725, allocations: 128 / 1.027 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.6725, allocations: 8.438 kB / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.6725, allocations: 7.953 kB / 1.027 GB, free: 10.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.597e-05/0.6726, allocations: 121.8 kB / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.6727, allocations: 0 / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.6727, allocations: 11.91 kB / 1.027 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.6727, allocations: 4 kB / 1.027 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6727, allocations: 4 kB / 1.027 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6727, allocations: 0 / 1.027 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.673, allocations: 177.6 kB / 1.027 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.673, allocations: 4 kB / 1.027 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.251e-05/0.6731, allocations: 15.98 kB / 1.027 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.6731, allocations: 0 / 1.027 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.6731, allocations: 4 kB / 1.027 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.6731, allocations: 0 / 1.027 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.6731, allocations: 0 / 1.027 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.6733, allocations: 175.3 kB / 1.028 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.6734, allocations: 85.52 kB / 1.028 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.6734, allocations: 4 kB / 1.028 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.6735, allocations: 8 kB / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.6735, allocations: 3.984 kB / 1.028 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.6735, allocations: 7.984 kB / 1.028 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.911e-05/0.6736, allocations: 75.28 kB / 1.028 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6736, allocations: 0 / 1.028 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002363/0.6738, allocations: 16 kB / 1.028 GB, free: 9.383 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 (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.0001238/0.6739, allocations: 103.2 kB / 1.028 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.6741, allocations: 48 kB / 1.028 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6741, allocations: 0 / 1.028 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.877e-05/0.6741, allocations: 19.98 kB / 1.028 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.6743, allocations: 7.953 kB / 1.028 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.6748, allocations: 390.8 kB / 1.028 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.6751, allocations: 0.6848 MB / 1.029 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.751e-05/0.6751, allocations: 11.97 kB / 1.029 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.6752, allocations: 11.44 kB / 1.029 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6752, allocations: 0 / 1.029 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of Templates: time 0.002526/0.6777, allocations: 0.5731 MB / 1.03 GB, free: 7.488 MB / 0.7794 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","../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches