Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.259/2.259, allocations: 390.3 MB / 402.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 221.3 MB / 0.7915 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009148/0.0009146, allocations: 99.44 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.964e-05/5e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3307, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.355/1.686, allocations: 436 MB / 1.644 GB, free: 14.52 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/1.686, allocations: 67.97 kB / 1.645 GB, free: 14.46 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 0.04681/1.733, allocations: 19.05 MB / 1.663 GB, free: 11.28 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.675e-06/1.733, allocations: 0 / 1.663 GB, free: 11.28 MB / 1.12 GB Notification: Performance of Transformations before backend: time 1.075e-05/1.733, allocations: 0 / 1.663 GB, free: 11.28 MB / 1.12 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.0004338/1.734, allocations: 354.4 kB / 1.663 GB, free: 10.89 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/1.734, allocations: 12.03 kB / 1.663 GB, free: 10.88 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/1.734, allocations: 7.891 kB / 1.664 GB, free: 10.87 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/1.734, allocations: 159.7 kB / 1.664 GB, free: 10.67 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.965e-05/1.734, allocations: 29.7 kB / 1.664 GB, free: 10.64 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/1.734, allocations: 0 / 1.664 GB, free: 10.64 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/1.734, allocations: 41.69 kB / 1.664 GB, free: 10.59 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/1.734, allocations: 3.984 kB / 1.664 GB, free: 10.59 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/1.734, allocations: 0 / 1.664 GB, free: 10.59 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/1.734, allocations: 4 kB / 1.664 GB, free: 10.58 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.857e-05/1.734, allocations: 11.98 kB / 1.664 GB, free: 10.57 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/1.735, allocations: 345.9 kB / 1.664 GB, free: 10.16 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 4.119e-05/1.735, allocations: 18.58 kB / 1.664 GB, free: 10.14 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/1.735, allocations: 8.922 kB / 1.664 GB, free: 10.12 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 9.245e-05/1.735, allocations: 81.11 kB / 1.664 GB, free: 10.03 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/1.735, allocations: 34.56 kB / 1.664 GB, free: 9.984 MB / 1.12 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/1.735, allocations: 3.938 kB / 1.664 GB, free: 9.98 MB / 1.12 GB Notification: Performance of matching and sorting (n=1): time 0.0001789/1.735, allocations: 45.58 kB / 1.664 GB, free: 9.93 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/1.735, allocations: 51.41 kB / 1.664 GB, free: 9.867 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.171e-05/1.735, allocations: 93 kB / 1.664 GB, free: 9.77 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/1.736, allocations: 25.7 kB / 1.664 GB, free: 9.738 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/1.736, allocations: 92.03 kB / 1.665 GB, free: 9.645 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-06/1.736, allocations: 8.031 kB / 1.665 GB, free: 9.637 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/1.736, allocations: 3.938 kB / 1.665 GB, free: 9.633 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.736, allocations: 310.8 kB / 1.665 GB, free: 9.32 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/1.736, allocations: 4 kB / 1.665 GB, free: 9.316 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/1.736, allocations: 13.72 kB / 1.665 GB, free: 9.297 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.389e-05/1.736, allocations: 11.98 kB / 1.665 GB, free: 9.285 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.736, allocations: 0 / 1.665 GB, free: 9.285 MB / 1.12 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.567e-05/1.736, allocations: 45.64 kB / 1.665 GB, free: 9.234 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.736, allocations: 8 kB / 1.665 GB, free: 9.227 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.736, allocations: 3.984 kB / 1.665 GB, free: 9.223 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.736, allocations: 0 / 1.665 GB, free: 9.223 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.038e-05/1.736, allocations: 4 kB / 1.665 GB, free: 9.219 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/1.736, allocations: 3.953 kB / 1.665 GB, free: 9.215 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/1.736, allocations: 11.84 kB / 1.665 GB, free: 9.203 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/1.736, allocations: 4 kB / 1.665 GB, free: 9.199 MB / 1.12 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 () * 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.094e-05/1.736, allocations: 105 kB / 1.665 GB, free: 9.09 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/1.736, allocations: 4 kB / 1.665 GB, free: 9.086 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/1.736, allocations: 120.9 kB / 1.665 GB, free: 8.961 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.236e-05/1.736, allocations: 180.3 kB / 1.665 GB, free: 8.777 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.211e-05/1.737, allocations: 180.3 kB / 1.665 GB, free: 8.594 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-05/1.737, allocations: 184.2 kB / 1.666 GB, free: 8.406 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/1.737, allocations: 413.2 kB / 1.666 GB, free: 7.945 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-05/1.737, allocations: 101 kB / 1.666 GB, free: 7.84 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/1.737, allocations: 113 kB / 1.666 GB, free: 7.723 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.211e-05/1.737, allocations: 180.2 kB / 1.666 GB, free: 7.539 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/1.737, allocations: 176.3 kB / 1.667 GB, free: 7.359 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.113e-05/1.737, allocations: 184.2 kB / 1.667 GB, free: 7.172 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.491e-05/1.737, allocations: 180.3 kB / 1.667 GB, free: 6.988 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/1.737, allocations: 311.7 kB / 1.667 GB, free: 6.66 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/1.738, allocations: 178.1 kB / 1.667 GB, free: 6.461 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.189e-05/1.738, allocations: 192.1 kB / 1.668 GB, free: 6.266 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/1.738, allocations: 109 kB / 1.668 GB, free: 6.152 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/1.738, allocations: 180.3 kB / 1.668 GB, free: 5.969 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/1.738, allocations: 104.9 kB / 1.668 GB, free: 5.859 MB / 1.12 GB Notification: Performance of sorting global known variables: time 5.404e-05/1.738, allocations: 87.27 kB / 1.668 GB, free: 5.773 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.5e-07/1.738, allocations: 0 / 1.668 GB, free: 5.773 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0002578/1.738, allocations: 16 kB / 1.668 GB, free: 5.758 MB / 1.12 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 () * 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.0003226/1.739, allocations: 239.1 kB / 1.668 GB, free: 5.52 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 7.62e-05/1.739, allocations: 8 kB / 1.668 GB, free: 5.512 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.739, allocations: 0 / 1.668 GB, free: 5.512 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 4.559e-06/1.739, allocations: 3.938 kB / 1.668 GB, free: 5.508 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/1.739, allocations: 0.539 MB / 1.669 GB, free: 4.965 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/1.739, allocations: 124.3 kB / 1.669 GB, free: 4.82 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/1.74, allocations: 0.677 MB / 1.67 GB, free: 4.117 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 5.046e-05/1.74, allocations: 7.984 kB / 1.67 GB, free: 4.109 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/1.74, allocations: 11.44 kB / 1.67 GB, free: 4.098 MB / 1.12 GB Notification: Performance of SimCode: time 5.51e-07/1.74, allocations: 0 / 1.67 GB, free: 4.098 MB / 1.12 GB Notification: Performance of Templates: time 0.003956/1.744, allocations: 1.27 MB / 1.671 GB, free: 2.84 MB / 1.12 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches