Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_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.001353/0.001353, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001269/0.00127, allocations: 187 kB / 17.34 MB, free: 5.742 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 71.89 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.126, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006204/1.132, allocations: 3.716 MB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002179/1.132, allocations: 153.6 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/1.132, allocations: 0 / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/1.132, allocations: 9.844 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.173e-05/1.132, allocations: 9.75 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000396/1.133, allocations: 82.95 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/1.133, allocations: 41.45 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/1.133, allocations: 2.672 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.16e-05/1.133, allocations: 19.16 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.876e-05/1.133, allocations: 12.5 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/1.133, allocations: 0.8438 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006528/1.134, allocations: 193.2 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/1.134, allocations: 13.16 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/1.134, allocations: 5.75 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/1.134, allocations: 46.02 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.134, allocations: 0.8125 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.734e-06/1.134, allocations: 0 / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.583e-06/1.134, allocations: 0 / 1.093 GB, free: 2.562 MB / 0.8575 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.0004195/1.135, allocations: 329.9 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.135, allocations: 9.734 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/1.135, allocations: 9.781 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.978e-05/1.135, allocations: 165.8 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.824e-05/1.135, allocations: 27.17 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/1.135, allocations: 1.469 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/1.135, allocations: 47.38 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.135, allocations: 0.7188 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/1.135, allocations: 0.75 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/1.135, allocations: 5.5 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.331e-05/1.135, allocations: 17 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/1.136, allocations: 336.6 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.647e-05/1.136, allocations: 17.05 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/1.136, allocations: 10.59 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.457e-05/1.136, allocations: 83.64 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/1.136, allocations: 32.2 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/1.136, allocations: 8.531 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001698/1.136, allocations: 33.22 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/1.136, allocations: 52.69 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.663e-05/1.136, allocations: 101.8 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/1.136, allocations: 27.02 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/1.136, allocations: 90.02 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.874e-06/1.136, allocations: 13.27 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/1.136, allocations: 13.8 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.383e-05/1.136, allocations: 321.4 kB / 1.094 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/1.136, allocations: 2.891 kB / 1.094 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.376e-05/1.136, allocations: 23.97 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/1.136, allocations: 25.05 kB / 1.095 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/1.136, allocations: 4 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.553e-05/1.136, allocations: 51.27 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.136, allocations: 4.969 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.136, allocations: 0 / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.136, allocations: 5.031 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.883e-05/1.136, allocations: 6.281 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.136, allocations: 0.75 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/1.137, allocations: 6.078 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/1.137, allocations: 1.875 kB / 1.095 GB, free: 0.6211 MB / 0.8575 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 5.674e-05/1.137, allocations: 112.6 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/1.137, allocations: 5.062 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.909e-05/1.137, allocations: 118.3 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/1.137, allocations: 186.9 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.389e-05/1.137, allocations: 177.9 kB / 1.095 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001021/1.137, allocations: 186 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/1.137, allocations: 415.8 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-05/1.137, allocations: 106.8 kB / 1.096 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/1.137, allocations: 102.7 kB / 1.096 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.214e-05/1.137, allocations: 178 kB / 1.096 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/1.137, allocations: 181.5 kB / 1.096 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.988e-05/1.138, allocations: 178 kB / 1.096 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.351e-05/1.138, allocations: 189.7 kB / 1.097 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/1.138, allocations: 305.7 kB / 1.097 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.459e-05/1.138, allocations: 181.5 kB / 1.097 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.861e-05/1.138, allocations: 181.9 kB / 1.097 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/1.138, allocations: 113.7 kB / 1.097 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/1.138, allocations: 178.5 kB / 1.098 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/1.138, allocations: 105.9 kB / 1.098 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.144e-05/1.138, allocations: 86.64 kB / 1.098 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.138, allocations: 0.9688 kB / 1.098 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002801/1.139, allocations: 15.78 kB / 1.098 GB, free: 13.23 MB / 0.8731 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.0003509/1.139, allocations: 204.8 kB / 1.098 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.897e-05/1.139, allocations: 11.39 kB / 1.098 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.139, allocations: 0 / 1.098 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.896e-06/1.139, allocations: 1.609 kB / 1.098 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/1.14, allocations: 472.4 kB / 1.098 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/1.14, allocations: 210.5 kB / 1.099 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/1.14, allocations: 0.6749 MB / 1.099 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/1.14, allocations: 14.31 kB / 1.099 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.14, allocations: 0 / 1.099 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of Templates: time 0.00283/1.143, allocations: 0.7572 MB / 1.1 GB, free: 11.62 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches