Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001805/0.001805, allocations: 180.1 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008923/0.0008924, allocations: 99.77 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.000335, allocations: 9.406 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.22, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.226, allocations: 417.5 MB / 1.308 GB, free: 15.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/1.227, allocations: 70.09 kB / 1.308 GB, free: 15.21 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03924/1.266, allocations: 17.77 MB / 1.325 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.715e-06/1.266, allocations: 4 kB / 1.325 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.024e-05/1.266, allocations: 0 / 1.325 GB, free: 0.7109 MB / 0.823 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.0004566/1.266, allocations: 363.1 kB / 1.326 GB, free: 320 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.267, allocations: 8.031 kB / 1.326 GB, free: 312 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/1.267, allocations: 0 / 1.326 GB, free: 312 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/1.267, allocations: 174.9 kB / 1.326 GB, free: 100 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/1.267, allocations: 25.7 kB / 1.326 GB, free: 68 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/1.267, allocations: 0 / 1.326 GB, free: 68 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/1.267, allocations: 41.69 kB / 1.326 GB, free: 20 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.267, allocations: 7.984 kB / 1.326 GB, free: 12 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/1.267, allocations: 0 / 1.326 GB, free: 12 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/1.267, allocations: 3.938 kB / 1.326 GB, free: 8 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.218e-05/1.267, allocations: 15.86 kB / 1.326 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/1.268, allocations: 333.7 kB / 1.326 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.569e-05/1.268, allocations: 18.58 kB / 1.326 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.108e-05/1.268, allocations: 89.16 kB / 1.326 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/1.268, allocations: 36.19 kB / 1.326 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/1.268, allocations: 0 / 1.326 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001601/1.268, allocations: 41.55 kB / 1.326 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/1.268, allocations: 51.41 kB / 1.326 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.685e-05/1.268, allocations: 104.8 kB / 1.326 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/1.268, allocations: 25.7 kB / 1.327 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/1.268, allocations: 92.17 kB / 1.327 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.78e-06/1.268, allocations: 0 / 1.327 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/1.268, allocations: 0 / 1.327 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.268, allocations: 314.4 kB / 1.327 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/1.268, allocations: 7.984 kB / 1.327 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/1.268, allocations: 13.72 kB / 1.327 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.462e-05/1.268, allocations: 11.88 kB / 1.327 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.268, allocations: 4 kB / 1.327 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.385e-05/1.269, allocations: 45.62 kB / 1.327 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.269, allocations: 4 kB / 1.327 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.269, allocations: 4 kB / 1.327 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.269, allocations: 0 / 1.327 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.766e-05/1.269, allocations: 4 kB / 1.327 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/1.269, allocations: 7.922 kB / 1.327 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.239e-05/1.269, allocations: 11.92 kB / 1.327 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/1.269, allocations: 3.953 kB / 1.327 GB, free: 14.66 MB / 0.8386 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.13e-05/1.269, allocations: 109.9 kB / 1.327 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/1.269, allocations: 7.906 kB / 1.327 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/1.269, allocations: 116.8 kB / 1.327 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-05/1.269, allocations: 184.2 kB / 1.327 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.337e-05/1.269, allocations: 176.3 kB / 1.328 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-05/1.269, allocations: 180.3 kB / 1.328 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/1.269, allocations: 412.9 kB / 1.328 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.494e-05/1.269, allocations: 105 kB / 1.328 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/1.269, allocations: 108.9 kB / 1.328 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.931e-05/1.27, allocations: 176.3 kB / 1.329 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.465e-05/1.27, allocations: 180.2 kB / 1.329 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.304e-05/1.27, allocations: 184.2 kB / 1.329 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.564e-05/1.27, allocations: 184.1 kB / 1.329 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/1.27, allocations: 303.7 kB / 1.329 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.255e-05/1.27, allocations: 189.9 kB / 1.33 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.154e-05/1.27, allocations: 180.3 kB / 1.33 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/1.27, allocations: 112.9 kB / 1.33 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/1.27, allocations: 184.2 kB / 1.33 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/1.27, allocations: 102.3 kB / 1.33 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.43e-05/1.27, allocations: 86.89 kB / 1.33 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/1.27, allocations: 0 / 1.33 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002525/1.271, allocations: 27.81 kB / 1.33 GB, free: 11.23 MB / 0.8386 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000278/1.271, allocations: 228.2 kB / 1.33 GB, free: 11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.664e-05/1.271, allocations: 7.938 kB / 1.33 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.271, allocations: 4 kB / 1.33 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/1.271, allocations: 3.938 kB / 1.33 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/1.271, allocations: 0.5302 MB / 1.331 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/1.272, allocations: 188.4 kB / 1.331 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/1.272, allocations: 0.6809 MB / 1.332 GB, free: 9.527 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.278e-05/1.272, allocations: 10 kB / 1.332 GB, free: 9.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/1.272, allocations: 7.438 kB / 1.332 GB, free: 9.512 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.272, allocations: 0 / 1.332 GB, free: 9.512 MB / 0.8386 GB Notification: Performance of Templates: time 0.003409/1.275, allocations: 1.099 MB / 1.333 GB, free: 8.438 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches