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.24/2.24, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001191/0.00119, allocations: 186.6 kB / 498.1 MB, free: 5.715 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.656/1.656, allocations: 223.2 MB / 0.7948 GB, free: 18.8 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.0009508/0.000951, allocations: 96.33 kB / 0.9346 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006411/0.0006411, allocations: 8.656 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3658, allocations: 142.4 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.92/5.285, allocations: 1.711 GB / 2.934 GB, free: 275 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/5.286, allocations: 68.67 kB / 2.934 GB, free: 274.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.06591/5.352, allocations: 37.39 MB / 2.971 GB, free: 237.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.703e-06/5.352, allocations: 4 kB / 2.971 GB, free: 237.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.454e-06/5.352, allocations: 0 / 2.971 GB, free: 237.1 MB / 1.167 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.0003079/5.352, allocations: 347.3 kB / 2.971 GB, free: 236.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/5.352, allocations: 8.031 kB / 2.971 GB, free: 236.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/5.353, allocations: 24.59 kB / 2.971 GB, free: 236.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.225e-05/5.353, allocations: 167 kB / 2.971 GB, free: 236.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.118e-05/5.353, allocations: 29.69 kB / 2.971 GB, free: 236.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/5.353, allocations: 4 kB / 2.971 GB, free: 236.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/5.353, allocations: 49.62 kB / 2.971 GB, free: 236.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/5.353, allocations: 7.953 kB / 2.971 GB, free: 236.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/5.353, allocations: 3.938 kB / 2.971 GB, free: 236.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/5.353, allocations: 0 / 2.971 GB, free: 236.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.137e-05/5.353, allocations: 19.98 kB / 2.971 GB, free: 236.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/5.353, allocations: 253 kB / 2.971 GB, free: 236 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.117e-05/5.353, allocations: 30.52 kB / 2.972 GB, free: 236 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/5.354, allocations: 101.1 kB / 2.972 GB, free: 235.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/5.354, allocations: 30.56 kB / 2.972 GB, free: 235.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/5.354, allocations: 4 kB / 2.972 GB, free: 235.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=2): time 0.0002158/5.354, allocations: 45.69 kB / 2.972 GB, free: 235.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/5.354, allocations: 51.41 kB / 2.972 GB, free: 235.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.005e-05/5.354, allocations: 97.12 kB / 2.972 GB, free: 235.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/5.354, allocations: 25.7 kB / 2.972 GB, free: 235.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/5.354, allocations: 92.03 kB / 2.972 GB, free: 235.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.897e-06/5.354, allocations: 7.844 kB / 2.972 GB, free: 235.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/5.354, allocations: 0 / 2.972 GB, free: 235.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.436e-05/5.354, allocations: 314.8 kB / 2.972 GB, free: 235.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/5.354, allocations: 4 kB / 2.972 GB, free: 235.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/5.354, allocations: 38.67 kB / 2.972 GB, free: 235.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/5.354, allocations: 8 kB / 2.972 GB, free: 235.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/5.354, allocations: 0 / 2.972 GB, free: 235.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.409e-05/5.354, allocations: 53.62 kB / 2.972 GB, free: 235.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/5.354, allocations: 7.953 kB / 2.972 GB, free: 235.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/5.354, allocations: 0 / 2.972 GB, free: 235.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/5.354, allocations: 4 kB / 2.972 GB, free: 235.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/5.354, allocations: 8.094 kB / 2.972 GB, free: 235 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/5.354, allocations: 0 / 2.972 GB, free: 235 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/5.354, allocations: 7.938 kB / 2.972 GB, free: 235 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/5.354, allocations: 0 / 2.972 GB, free: 235 MB / 1.167 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 () * Number of clocked 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 7.222e-05/5.354, allocations: 113.8 kB / 2.972 GB, free: 234.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/5.354, allocations: 3.906 kB / 2.973 GB, free: 234.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/5.355, allocations: 15.02 kB / 2.973 GB, free: 234.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/5.355, allocations: 4 kB / 2.973 GB, free: 234.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/5.355, allocations: 0 / 2.973 GB, free: 234.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/5.355, allocations: 4 kB / 2.973 GB, free: 234.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/5.355, allocations: 359.6 kB / 2.973 GB, free: 234.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/5.355, allocations: 7.938 kB / 2.973 GB, free: 234.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/5.355, allocations: 7.938 kB / 2.973 GB, free: 234.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/5.355, allocations: 0 / 2.973 GB, free: 234.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/5.355, allocations: 4 kB / 2.973 GB, free: 234.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/5.355, allocations: 0 / 2.973 GB, free: 234.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/5.355, allocations: 0 / 2.973 GB, free: 234.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.271e-05/5.355, allocations: 83.72 kB / 2.973 GB, free: 234.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/5.355, allocations: 81.11 kB / 2.973 GB, free: 234.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/5.355, allocations: 0 / 2.973 GB, free: 234.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.621e-05/5.355, allocations: 8 kB / 2.973 GB, free: 234.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/5.355, allocations: 8.016 kB / 2.973 GB, free: 234.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/5.355, allocations: 4 kB / 2.973 GB, free: 234.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 2.405e-05/5.355, allocations: 79.22 kB / 2.973 GB, free: 234.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/5.355, allocations: 4 kB / 2.973 GB, free: 234.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0002983/5.355, allocations: 39.98 kB / 2.973 GB, free: 234.1 MB / 1.167 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 () * Number of clocked 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.0006516/5.356, allocations: 0.5517 MB / 2.974 GB, free: 233.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 8.775e-05/5.356, allocations: 15.98 kB / 2.974 GB, free: 233.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/5.356, allocations: 0 / 2.974 GB, free: 233.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 1.078e-05/5.356, allocations: 8.188 kB / 2.974 GB, free: 233.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/5.356, allocations: 21.52 kB / 2.974 GB, free: 233.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/5.357, allocations: 125.4 kB / 2.974 GB, free: 233.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/5.357, allocations: 0.6848 MB / 2.975 GB, free: 232.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 5.804e-05/5.357, allocations: 8 kB / 2.975 GB, free: 232.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/5.357, allocations: 7.438 kB / 2.975 GB, free: 232.6 MB / 1.167 GB Notification: Performance of SimCode: time 9.82e-07/5.357, allocations: 0 / 2.975 GB, free: 232.6 MB / 1.167 GB Notification: Performance of Templates: time 0.009451/5.366, allocations: 7.643 MB / 2.982 GB, free: 225 MB / 1.167 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