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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 387.1 MB / 399.7 MB, free: 9.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 176.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.3 MB / 0.7871 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000962/0.000962, allocations: 94.75 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.395e-05/5.397e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3083, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.274/1.583, allocations: 418.4 MB / 1.621 GB, free: 12.84 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/1.583, allocations: 62.22 kB / 1.621 GB, free: 12.81 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04327/1.626, allocations: 19.06 MB / 1.64 GB, free: 13.2 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.083e-06/1.626, allocations: 0 / 1.64 GB, free: 13.2 MB / 1.057 GB Notification: Performance of Transformations before backend: time 7.955e-06/1.626, allocations: 4 kB / 1.64 GB, free: 13.2 MB / 1.057 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.0004684/1.627, allocations: 362.3 kB / 1.64 GB, free: 12.8 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/1.627, allocations: 8.031 kB / 1.64 GB, free: 12.79 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/1.627, allocations: 8.531 kB / 1.64 GB, free: 12.79 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/1.627, allocations: 167 kB / 1.64 GB, free: 12.58 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/1.627, allocations: 3.812 kB / 1.64 GB, free: 12.58 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/1.627, allocations: 4 kB / 1.64 GB, free: 12.58 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/1.627, allocations: 52.55 kB / 1.64 GB, free: 12.53 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/1.627, allocations: 0 / 1.64 GB, free: 12.53 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/1.627, allocations: 4 kB / 1.64 GB, free: 12.52 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/1.627, allocations: 4 kB / 1.64 GB, free: 12.52 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.69e-05/1.627, allocations: 19.67 kB / 1.64 GB, free: 12.5 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/1.627, allocations: 164.7 kB / 1.64 GB, free: 12.3 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 9.19e-05/1.628, allocations: 51.56 kB / 1.64 GB, free: 12.25 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/1.628, allocations: 12.42 kB / 1.64 GB, free: 12.23 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008102/1.628, allocations: 0.6307 MB / 1.641 GB, free: 11.51 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/1.628, allocations: 30.56 kB / 1.641 GB, free: 11.47 MB / 1.057 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/1.628, allocations: 0 / 1.641 GB, free: 11.47 MB / 1.057 GB Notification: Performance of matching and sorting (n=7): time 0.0006118/1.629, allocations: 285.7 kB / 1.641 GB, free: 11.16 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/1.629, allocations: 55.41 kB / 1.641 GB, free: 11.09 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/1.629, allocations: 100.8 kB / 1.642 GB, free: 10.99 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/1.629, allocations: 25.7 kB / 1.642 GB, free: 10.96 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/1.629, allocations: 91.97 kB / 1.642 GB, free: 10.87 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/1.629, allocations: 27.5 kB / 1.642 GB, free: 10.84 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/1.629, allocations: 3.75 kB / 1.642 GB, free: 10.84 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.629, allocations: 318.8 kB / 1.642 GB, free: 10.52 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/1.63, allocations: 15.88 kB / 1.642 GB, free: 10.51 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/1.63, allocations: 54.56 kB / 1.642 GB, free: 10.45 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.876e-05/1.63, allocations: 22.3 kB / 1.642 GB, free: 10.43 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/1.63, allocations: 0 / 1.642 GB, free: 10.43 MB / 1.057 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001285/1.63, allocations: 87.34 kB / 1.642 GB, free: 10.35 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.63, allocations: 12.12 kB / 1.642 GB, free: 10.34 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/1.63, allocations: 4 kB / 1.642 GB, free: 10.33 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/1.63, allocations: 8 kB / 1.642 GB, free: 10.32 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.432e-05/1.63, allocations: 27.91 kB / 1.642 GB, free: 10.3 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.63, allocations: 0 / 1.642 GB, free: 10.3 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.75e-05/1.63, allocations: 7.125 kB / 1.642 GB, free: 10.29 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/1.63, allocations: 4 kB / 1.642 GB, free: 10.29 MB / 1.057 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 () * 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.525e-05/1.63, allocations: 103.9 kB / 1.642 GB, free: 10.18 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/1.63, allocations: 7.938 kB / 1.642 GB, free: 10.18 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/1.63, allocations: 11.16 kB / 1.642 GB, free: 10.17 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.63, allocations: 0 / 1.642 GB, free: 10.17 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.63, allocations: 3.953 kB / 1.642 GB, free: 10.16 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/1.63, allocations: 4 kB / 1.642 GB, free: 10.16 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/1.63, allocations: 175.8 kB / 1.643 GB, free: 9.945 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.63, allocations: 0 / 1.643 GB, free: 9.945 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.25e-05/1.631, allocations: 18.61 kB / 1.643 GB, free: 9.93 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.631, allocations: 0 / 1.643 GB, free: 9.93 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/1.631, allocations: 0 / 1.643 GB, free: 9.93 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.631, allocations: 0 / 1.643 GB, free: 9.93 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.631, allocations: 4 kB / 1.643 GB, free: 9.926 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/1.631, allocations: 173 kB / 1.643 GB, free: 9.75 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/1.631, allocations: 88.39 kB / 1.643 GB, free: 9.648 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/1.631, allocations: 0 / 1.643 GB, free: 9.648 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/1.631, allocations: 4 kB / 1.643 GB, free: 9.645 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/1.631, allocations: 3.984 kB / 1.643 GB, free: 9.641 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/1.631, allocations: 7.25 kB / 1.643 GB, free: 9.637 MB / 1.057 GB Notification: Performance of sorting global known variables: time 5.404e-05/1.631, allocations: 83.17 kB / 1.643 GB, free: 9.555 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.4e-07/1.631, allocations: 4 kB / 1.643 GB, free: 9.551 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002338/1.631, allocations: 19.12 kB / 1.643 GB, free: 9.535 MB / 1.057 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 () * 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.0002756/1.632, allocations: 144.2 kB / 1.643 GB, free: 9.391 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0001091/1.632, allocations: 47.12 kB / 1.643 GB, free: 9.352 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.632, allocations: 4 kB / 1.643 GB, free: 9.348 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 2.353e-05/1.632, allocations: 19.69 kB / 1.643 GB, free: 9.332 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/1.632, allocations: 9.359 kB / 1.643 GB, free: 9.324 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/1.632, allocations: 276.9 kB / 1.643 GB, free: 9.039 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/1.633, allocations: 0.6848 MB / 1.644 GB, free: 8.328 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 6.226e-05/1.633, allocations: 15.77 kB / 1.644 GB, free: 8.312 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/1.633, allocations: 11.44 kB / 1.644 GB, free: 8.301 MB / 1.057 GB Notification: Performance of SimCode: time 3.41e-07/1.633, allocations: 0 / 1.644 GB, free: 8.301 MB / 1.057 GB Notification: Performance of Templates: time 0.003715/1.637, allocations: 1.299 MB / 1.645 GB, free: 7.012 MB / 1.057 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","../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches