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.00137/0.00137, allocations: 108.5 kB / 16.41 MB, free: 6.473 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.001304/0.001304, allocations: 189.7 kB / 17.34 MB, free: 5.711 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.458/2.458, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 72.11 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8766/0.8778, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005951/0.8838, allocations: 3.741 MB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002415/0.8841, allocations: 155.4 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.8841, allocations: 0 / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.8842, allocations: 0 / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.356e-05/0.8844, allocations: 15.92 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.8847, allocations: 80.81 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.867e-05/0.8848, allocations: 35.91 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.8849, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.8849, allocations: 19.97 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.885, allocations: 19.86 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.885, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005801/0.8856, allocations: 191.4 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.8857, allocations: 3.984 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.8857, allocations: 8 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.8858, allocations: 48.39 kB / 1.172 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.8858, allocations: 0 / 1.172 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8858, allocations: 0 / 1.172 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.8859, allocations: 0 / 1.172 GB, free: 15.51 MB / 0.9044 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.0004065/0.8863, allocations: 331.5 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.8863, allocations: 12.03 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.8864, allocations: 0.9375 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.8865, allocations: 164.4 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.8866, allocations: 34.25 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-06/0.8866, allocations: 384 / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.8867, allocations: 49.56 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.8867, allocations: 0 / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.8868, allocations: 4 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.8868, allocations: 0 / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.64e-05/0.8868, allocations: 15.97 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.8873, allocations: 349.9 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 3.76e-05/0.8874, allocations: 14.58 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.8874, allocations: 16.86 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.316e-05/0.8875, allocations: 85.05 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.8875, allocations: 30.56 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 3.166e-06/0.8875, allocations: 4 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001491/0.8877, allocations: 37.69 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.8877, allocations: 51.41 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/0.8878, allocations: 105.8 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.8878, allocations: 25.7 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.8879, allocations: 84.09 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-06/0.8879, allocations: 3.938 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.8879, allocations: 21.67 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.8881, allocations: 318.9 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.8881, allocations: 11.92 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.712e-05/0.8881, allocations: 17.72 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.8882, allocations: 17.72 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8882, allocations: 0 / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.898e-05/0.8883, allocations: 49.62 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8883, allocations: 8.062 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.8883, allocations: 4 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.8883, allocations: 0 / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.521e-05/0.8884, allocations: 7.984 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.8884, allocations: 0 / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.8884, allocations: 0 / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.8884, allocations: 8 kB / 1.173 GB, free: 13.39 MB / 0.9044 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 7.893e-05/0.8885, allocations: 109.8 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.8885, allocations: 4 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.8887, allocations: 122.5 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.924e-05/0.8887, allocations: 188.3 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.937e-05/0.8888, allocations: 180.2 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.727e-05/0.8889, allocations: 180.3 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.8891, allocations: 417.1 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.494e-05/0.8892, allocations: 101 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.8892, allocations: 105 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.776e-05/0.8893, allocations: 184.2 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.404e-05/0.8894, allocations: 180.3 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.556e-05/0.8894, allocations: 180.2 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.441e-05/0.8895, allocations: 180.3 kB / 1.175 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.8897, allocations: 323.6 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.8897, allocations: 178.1 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.353e-05/0.8898, allocations: 180.2 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.89, allocations: 120.9 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.599e-05/0.8901, allocations: 176.3 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.8901, allocations: 104.9 kB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.785e-05/0.8902, allocations: 91.27 kB / 1.176 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8902, allocations: 0 / 1.176 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002538/0.8905, allocations: 15.94 kB / 1.176 GB, free: 9.914 MB / 0.9044 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.000276/0.8907, allocations: 206.4 kB / 1.177 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.317e-05/0.8908, allocations: 4 kB / 1.177 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8908, allocations: 0 / 1.177 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.8908, allocations: 3.938 kB / 1.177 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.8912, allocations: 465.1 kB / 1.177 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.8915, allocations: 211.8 kB / 1.177 GB, free: 9 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.8918, allocations: 0.6768 MB / 1.178 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.8919, allocations: 7.438 kB / 1.178 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.8919, allocations: 0 / 1.178 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of Templates: time 0.0023/0.8942, allocations: 0.7646 MB / 1.179 GB, free: 7.531 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches