Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.583/2.583, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001579/0.001579, allocations: 172.9 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009476/0.0009476, allocations: 102.5 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.276e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3124, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.743/5.056, allocations: 1.711 GB / 2.924 GB, free: 155.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/5.056, allocations: 73.52 kB / 2.924 GB, free: 155.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.06691/5.123, allocations: 37.33 MB / 2.96 GB, free: 117.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.204e-06/5.123, allocations: 0 / 2.96 GB, free: 117.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.757e-06/5.123, allocations: 0 / 2.96 GB, free: 117.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002832/5.123, allocations: 342.3 kB / 2.96 GB, free: 117.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/5.123, allocations: 8.031 kB / 2.96 GB, free: 117.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/5.124, allocations: 27.97 kB / 2.96 GB, free: 117.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.754e-05/5.124, allocations: 163.7 kB / 2.961 GB, free: 117.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.794e-05/5.124, allocations: 33.7 kB / 2.961 GB, free: 117.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/5.124, allocations: 0 / 2.961 GB, free: 117.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/5.124, allocations: 45.69 kB / 2.961 GB, free: 117.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/5.124, allocations: 0 / 2.961 GB, free: 117.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/5.124, allocations: 3.953 kB / 2.961 GB, free: 117.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/5.124, allocations: 3.984 kB / 2.961 GB, free: 117.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.138e-05/5.124, allocations: 19.94 kB / 2.961 GB, free: 117.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/5.124, allocations: 264.9 kB / 2.961 GB, free: 116.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 4.902e-05/5.124, allocations: 22.52 kB / 2.961 GB, free: 116.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/5.124, allocations: 8.922 kB / 2.961 GB, free: 116.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/5.125, allocations: 97.05 kB / 2.961 GB, free: 116.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/5.125, allocations: 38.56 kB / 2.961 GB, free: 116.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=2): time 1.883e-06/5.125, allocations: 0 / 2.961 GB, free: 116.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=2): time 0.0002062/5.125, allocations: 49.62 kB / 2.961 GB, free: 116.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/5.125, allocations: 51.41 kB / 2.961 GB, free: 116.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.489e-05/5.125, allocations: 92.98 kB / 2.961 GB, free: 116.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/5.125, allocations: 25.7 kB / 2.961 GB, free: 116.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/5.125, allocations: 92.05 kB / 2.961 GB, free: 116.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.432e-06/5.125, allocations: 7.938 kB / 2.961 GB, free: 116.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/5.125, allocations: 0 / 2.961 GB, free: 116.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.547e-05/5.125, allocations: 314.8 kB / 2.962 GB, free: 115.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/5.125, allocations: 8 kB / 2.962 GB, free: 115.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/5.125, allocations: 22.58 kB / 2.962 GB, free: 115.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.044e-05/5.125, allocations: 11.94 kB / 2.962 GB, free: 115.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/5.125, allocations: 0 / 2.962 GB, free: 115.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.742e-05/5.125, allocations: 53.62 kB / 2.962 GB, free: 115.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/5.125, allocations: 9.359 kB / 2.962 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/5.125, allocations: 4 kB / 2.962 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/5.125, allocations: 0 / 2.962 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/5.125, allocations: 11.92 kB / 2.962 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/5.125, allocations: 4 kB / 2.962 GB, free: 115.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/5.125, allocations: 3.938 kB / 2.962 GB, free: 115.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/5.125, allocations: 4.094 kB / 2.962 GB, free: 115.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.524e-05/5.125, allocations: 110 kB / 2.962 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/5.125, allocations: 0 / 2.962 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/5.125, allocations: 7.078 kB / 2.962 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/5.125, allocations: 4 kB / 2.962 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/5.126, allocations: 0 / 2.962 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/5.126, allocations: 0 / 2.962 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/5.126, allocations: 367.5 kB / 2.962 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/5.126, allocations: 3.953 kB / 2.962 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/5.126, allocations: 4 kB / 2.962 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/5.126, allocations: 288 / 2.962 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/5.126, allocations: 0 / 2.962 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/5.126, allocations: 7.938 kB / 2.962 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/5.126, allocations: 4 kB / 2.962 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.579e-05/5.126, allocations: 95.64 kB / 2.962 GB, free: 115.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/5.126, allocations: 81.11 kB / 2.962 GB, free: 115 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/5.126, allocations: 0 / 2.962 GB, free: 115 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/5.126, allocations: 7.984 kB / 2.962 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/5.126, allocations: 0 / 2.962 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/5.126, allocations: 4 kB / 2.962 GB, free: 114.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.529e-05/5.126, allocations: 79.28 kB / 2.963 GB, free: 114.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/5.126, allocations: 4.031 kB / 2.963 GB, free: 114.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000318/5.126, allocations: 39.98 kB / 2.963 GB, free: 114.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0006087/5.127, allocations: 0.539 MB / 2.963 GB, free: 114.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 8.022e-05/5.127, allocations: 19.92 kB / 2.963 GB, free: 114.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/5.127, allocations: 0 / 2.963 GB, free: 114.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.747e-06/5.127, allocations: 4 kB / 2.963 GB, free: 114.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/5.127, allocations: 23.81 kB / 2.963 GB, free: 114.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001799/5.127, allocations: 67.28 kB / 2.963 GB, free: 114.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/5.128, allocations: 0.677 MB / 2.964 GB, free: 113.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 5.67e-05/5.128, allocations: 4 kB / 2.964 GB, free: 113.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/5.128, allocations: 11.44 kB / 2.964 GB, free: 113.4 MB / 1.151 GB Notification: Performance of SimCode: time 3.11e-07/5.128, allocations: 4 kB / 2.964 GB, free: 113.4 MB / 1.151 GB Notification: Performance of Templates: time 0.01089/5.139, allocations: 9.296 MB / 2.973 GB, free: 104.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","../files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches