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.007796/0.007796, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001192/0.001192, allocations: 196.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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.759/2.759, allocations: 437 MB / 0.7105 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 64.05 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4195, allocations: 151.6 MB / 1.167 GB, free: 6.754 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.01075/0.4303, allocations: 3.725 MB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003983/0.4307, allocations: 147.5 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.4308, allocations: 7.938 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.431, allocations: 3.938 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.4311, allocations: 23.91 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006279/0.4318, allocations: 83.67 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.4319, allocations: 35.86 kB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.355e-05/0.432, allocations: 4 kB / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.4321, allocations: 15.97 kB / 1.171 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.4322, allocations: 15.94 kB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.4323, allocations: 0 / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009556/0.4332, allocations: 191.3 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.4333, allocations: 4 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.4334, allocations: 15.97 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.4336, allocations: 43.86 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4336, allocations: 0 / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of FrontEnd: time 5.691e-06/0.4336, allocations: 3.984 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.4337, allocations: 0 / 1.171 GB, free: 2.414 MB / 0.92 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.0005656/0.4342, allocations: 331.5 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4343, allocations: 8.031 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.4344, allocations: 8.938 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.4347, allocations: 160.4 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.031e-05/0.4348, allocations: 26.27 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.4348, allocations: 4.375 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.435, allocations: 49.61 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.435, allocations: 3.984 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.4351, allocations: 0 / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.4351, allocations: 4 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.4352, allocations: 15.92 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.4359, allocations: 341.9 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.502e-05/0.436, allocations: 18.56 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.4361, allocations: 4.859 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001646/0.4362, allocations: 89.17 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.4363, allocations: 30.56 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 4.338e-06/0.4363, allocations: 4 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0002369/0.4366, allocations: 45.56 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.4367, allocations: 55.34 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.4368, allocations: 97.86 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.4368, allocations: 25.7 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.4369, allocations: 92.08 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.437, allocations: 0 / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.4371, allocations: 21.8 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003013/0.4374, allocations: 318.8 kB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.173e-05/0.4375, allocations: 4 kB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/0.4375, allocations: 21.7 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.383e-05/0.4376, allocations: 17.66 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4376, allocations: 0 / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001662/0.4378, allocations: 57.62 kB / 1.173 GB, free: 328 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.4378, allocations: 6.031 kB / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.4379, allocations: 0 / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.4379, allocations: 0 / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.128e-05/0.438, allocations: 8 kB / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.438, allocations: 0 / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.4381, allocations: 7.984 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.4381, allocations: 4 kB / 1.173 GB, free: 304 kB / 0.92 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 0.0001766/0.4383, allocations: 113.8 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.4384, allocations: 4.062 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.4386, allocations: 124 kB / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001215/0.4387, allocations: 184.2 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001088/0.4388, allocations: 180.3 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001091/0.4389, allocations: 180.2 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.4394, allocations: 413.2 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-05/0.4395, allocations: 105.2 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.175e-05/0.4396, allocations: 101 kB / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/0.4397, allocations: 176.3 kB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.4398, allocations: 188.2 kB / 1.174 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001184/0.44, allocations: 176.3 kB / 1.174 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00012/0.4401, allocations: 184.2 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.4404, allocations: 319.6 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.4406, allocations: 182.1 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.4408, allocations: 176.3 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.4411, allocations: 120.9 kB / 1.175 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.4413, allocations: 180.2 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.638e-05/0.4414, allocations: 108.9 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.841e-05/0.4415, allocations: 79.28 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4415, allocations: 0 / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004595/0.442, allocations: 19.94 kB / 1.176 GB, free: 12.84 MB / 0.9356 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.0006121/0.4426, allocations: 210.3 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.4428, allocations: 11.98 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4428, allocations: 0 / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.029e-06/0.4428, allocations: 0 / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/0.4436, allocations: 463.8 kB / 1.176 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.4441, allocations: 173.9 kB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.4446, allocations: 0.6729 MB / 1.177 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.354e-05/0.4447, allocations: 7.984 kB / 1.177 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.4447, allocations: 11.44 kB / 1.177 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.4447, allocations: 0 / 1.177 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of Templates: time 0.004994/0.4497, allocations: 0.6428 MB / 1.178 GB, free: 10.61 MB / 0.9356 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