Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001303/0.001304, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.747/2.747, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.91 kB / 0.8685 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7725/0.774, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.007031/0.7811, allocations: 3.778 MB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002546/0.7814, allocations: 159.5 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.632e-05/0.7814, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.7816, allocations: 7.922 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.24e-05/0.7817, allocations: 11.92 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.7821, allocations: 83.5 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.7823, allocations: 59.81 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.094e-05/0.7824, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.773e-05/0.7824, allocations: 19.92 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.7825, allocations: 11.98 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.7825, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007919/0.7833, allocations: 191.5 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.7834, allocations: 7.984 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.7835, allocations: 15.92 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.7837, allocations: 41.92 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.7837, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7837, allocations: 3.938 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.7837, allocations: 0 / 1.021 GB, free: 14.38 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005291/0.7842, allocations: 339.5 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.7843, allocations: 8.031 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.7844, allocations: 12.78 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.7845, allocations: 160.4 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.031e-05/0.7846, allocations: 30.27 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.7846, allocations: 8.375 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.7848, allocations: 45.62 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.7848, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.7848, allocations: 0 / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.7849, allocations: 4 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.103e-05/0.7849, allocations: 15.92 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.7855, allocations: 334 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.143e-05/0.7855, allocations: 22.58 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.7855, allocations: 4.859 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.93e-05/0.7857, allocations: 89.16 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.7857, allocations: 30.56 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.7857, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001675/0.7859, allocations: 37.64 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.7859, allocations: 51.41 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/0.786, allocations: 106 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.786, allocations: 25.7 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.7861, allocations: 92.05 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/0.7861, allocations: 7.844 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.7862, allocations: 17.7 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7863, allocations: 318.8 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.7863, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.888e-05/0.7863, allocations: 21.7 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.7864, allocations: 21.66 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.7864, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.692e-05/0.7865, allocations: 53.62 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.7865, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.7865, allocations: 288 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.7866, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.7866, allocations: 16 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.7866, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.7866, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.7867, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 8.446e-05/0.7867, allocations: 114.3 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.7868, allocations: 11.91 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.7869, allocations: 124.9 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.963e-05/0.787, allocations: 184.2 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.691e-05/0.7871, allocations: 184.2 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-05/0.7872, allocations: 180.2 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.7874, allocations: 409.2 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.163e-05/0.7875, allocations: 101 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.7876, allocations: 104.9 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.548e-05/0.7876, allocations: 180.3 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.7878, allocations: 184.2 kB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001037/0.7879, allocations: 184.2 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.079e-05/0.788, allocations: 180.2 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.7882, allocations: 303.8 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.7884, allocations: 190 kB / 1.025 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.7885, allocations: 184.3 kB / 1.025 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.7887, allocations: 105 kB / 1.025 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.7888, allocations: 184.2 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.7889, allocations: 109 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.709e-05/0.789, allocations: 83.28 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.789, allocations: 0 / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003251/0.7893, allocations: 12 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0005154/0.7898, allocations: 206.4 kB / 1.026 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.79, allocations: 11.94 kB / 1.026 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.79, allocations: 4.125 kB / 1.026 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.325e-06/0.79, allocations: 0 / 1.026 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006442/0.7907, allocations: 0.5311 MB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.7911, allocations: 179.6 kB / 1.027 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.7915, allocations: 0.677 MB / 1.027 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.82e-05/0.7915, allocations: 4 kB / 1.027 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.7916, allocations: 11.44 kB / 1.027 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.7916, allocations: 0 / 1.027 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of Templates: time 0.003888/0.7955, allocations: 0.6257 MB / 1.028 GB, free: 6.492 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches