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.001745/0.001745, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001677/0.001677, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.432/2.432, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 55.34 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2597, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.003107/0.2629, allocations: 1.264 MB / 1.028 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003669/0.2666, allocations: 2.944 MB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.2667, allocations: 8 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.2667, allocations: 3.938 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.655e-05/0.2668, allocations: 0 / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005152/0.2673, allocations: 103.5 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.321e-05/0.2674, allocations: 35.86 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.2674, allocations: 3.984 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.2678, allocations: 159.5 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.165e-05/0.2679, allocations: 23.91 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.2679, allocations: 4 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.2681, allocations: 63.81 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.2681, allocations: 11.98 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.2681, allocations: 11.94 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.2683, allocations: 67.78 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2683, allocations: 0 / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2683, allocations: 0 / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2683, allocations: 4 kB / 1.031 GB, free: 13.37 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.0004093/0.2687, allocations: 343.6 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.2688, allocations: 8.031 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.2688, allocations: 12.83 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.543e-05/0.2689, allocations: 164.3 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2689, allocations: 4.375 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.269, allocations: 4.375 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.2691, allocations: 61.73 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2691, allocations: 0 / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2691, allocations: 4 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2691, allocations: 7.938 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.808e-05/0.2692, allocations: 15.98 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.2693, allocations: 161.7 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.271e-05/0.2694, allocations: 50.56 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.2695, allocations: 16.86 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006314/0.2701, allocations: 0.6064 MB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2701, allocations: 30.56 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.2701, allocations: 0 / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0005196/0.2707, allocations: 294.2 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.2707, allocations: 51.41 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.2708, allocations: 101.8 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.2708, allocations: 33.7 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.2708, allocations: 84.05 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.2709, allocations: 31.55 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.2709, allocations: 25.72 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.271, allocations: 318.8 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.271, allocations: 11.98 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.2711, allocations: 61.52 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.658e-05/0.2712, allocations: 69.27 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2712, allocations: 4 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001292/0.2713, allocations: 93.55 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.2713, allocations: 4 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2714, allocations: 11.94 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2714, allocations: 7.922 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.2715, allocations: 20 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2715, allocations: 7.938 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/0.2715, allocations: 3.938 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.2715, allocations: 4 kB / 1.034 GB, free: 10.27 MB / 0.8106 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 6.859e-05/0.2716, allocations: 118 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.2716, allocations: 11.89 kB / 1.034 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.2717, allocations: 7.969 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.2717, allocations: 0 / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2717, allocations: 0 / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2717, allocations: 7.938 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.2719, allocations: 173.7 kB / 1.034 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2719, allocations: 4 kB / 1.034 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.573e-05/0.272, allocations: 12 kB / 1.034 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.272, allocations: 7.922 kB / 1.034 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.272, allocations: 0 / 1.034 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2721, allocations: 4 kB / 1.034 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2721, allocations: 0 / 1.034 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.2722, allocations: 171.5 kB / 1.034 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.2723, allocations: 89.05 kB / 1.034 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.2723, allocations: 4 kB / 1.035 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2724, allocations: 0 / 1.035 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.2724, allocations: 7.984 kB / 1.035 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.2725, allocations: 7.938 kB / 1.035 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.127e-05/0.2725, allocations: 79.28 kB / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2725, allocations: 0 / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002451/0.2727, allocations: 16 kB / 1.035 GB, free: 9.469 MB / 0.8106 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.0001005/0.2729, allocations: 107.2 kB / 1.035 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.273, allocations: 44.23 kB / 1.035 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.273, allocations: 4.25 kB / 1.035 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.41e-05/0.273, allocations: 16 kB / 1.035 GB, free: 9.293 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.2733, allocations: 8 kB / 1.035 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004971/0.2738, allocations: 318.2 kB / 1.035 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.274, allocations: 0.6846 MB / 1.036 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.482e-05/0.2741, allocations: 11.98 kB / 1.036 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.2741, allocations: 11.44 kB / 1.036 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2741, allocations: 3.938 kB / 1.036 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of Templates: time 0.002571/0.2767, allocations: 0.6237 MB / 1.036 GB, free: 7.586 MB / 0.8106 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches