Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.292/2.292, allocations: 390.5 MB / 398 MB, free: 10.98 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.001335/0.001335, allocations: 188.9 kB / 491.2 MB, free: 1.598 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.756/1.756, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009853/0.0009856, allocations: 95.83 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.476e-05/2.53e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3544, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.82/5.175, allocations: 1.711 GB / 2.924 GB, free: 131.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/5.175, allocations: 76.89 kB / 2.924 GB, free: 131.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.06948/5.244, allocations: 36.69 MB / 2.959 GB, free: 101.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.493e-06/5.244, allocations: 0 / 2.959 GB, free: 101.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.016e-06/5.244, allocations: 4 kB / 2.959 GB, free: 101.2 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.0003225/5.245, allocations: 338.4 kB / 2.96 GB, free: 100.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/5.245, allocations: 8.031 kB / 2.96 GB, free: 100.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003184/5.245, allocations: 27.97 kB / 2.96 GB, free: 100.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/5.245, allocations: 163.1 kB / 2.96 GB, free: 100.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.175e-05/5.245, allocations: 29.7 kB / 2.96 GB, free: 100.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/5.246, allocations: 3.938 kB / 2.96 GB, free: 100.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001268/5.246, allocations: 16 kB / 2.96 GB, free: 100.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/5.246, allocations: 53.56 kB / 2.96 GB, free: 100.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/5.246, allocations: 0 / 2.96 GB, free: 100.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/5.246, allocations: 4 kB / 2.96 GB, free: 100.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/5.246, allocations: 3.938 kB / 2.96 GB, free: 100.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/5.246, allocations: 331.2 kB / 2.96 GB, free: 100.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 3.531e-05/5.246, allocations: 18.58 kB / 2.96 GB, free: 100.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/5.246, allocations: 8.922 kB / 2.96 GB, free: 100.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/5.246, allocations: 3.953 kB / 2.96 GB, free: 100.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/5.246, allocations: 30.56 kB / 2.96 GB, free: 100 MB / 1.151 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/5.246, allocations: 0 / 2.96 GB, free: 100 MB / 1.151 GB Notification: Performance of matching and sorting (n=1): time 0.0002204/5.247, allocations: 41.62 kB / 2.96 GB, free: 100 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/5.247, allocations: 55.44 kB / 2.961 GB, free: 99.93 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.812e-05/5.247, allocations: 101 kB / 2.961 GB, free: 99.82 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/5.247, allocations: 25.7 kB / 2.961 GB, free: 99.79 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/5.247, allocations: 96.03 kB / 2.961 GB, free: 99.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/5.247, allocations: 7.844 kB / 2.961 GB, free: 99.69 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/5.247, allocations: 0 / 2.961 GB, free: 99.69 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.801e-05/5.247, allocations: 310.8 kB / 2.961 GB, free: 99.38 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/5.247, allocations: 8 kB / 2.961 GB, free: 99.37 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.372e-05/5.247, allocations: 22.58 kB / 2.961 GB, free: 99.34 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.177e-05/5.247, allocations: 7.984 kB / 2.961 GB, free: 99.33 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/5.247, allocations: 0 / 2.961 GB, free: 99.33 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.242e-05/5.247, allocations: 49.64 kB / 2.961 GB, free: 99.27 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/5.247, allocations: 9.703 kB / 2.961 GB, free: 99.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/5.247, allocations: 4.047 kB / 2.961 GB, free: 99.26 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/5.247, allocations: 12.08 kB / 2.961 GB, free: 99.25 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/5.247, allocations: 4 kB / 2.961 GB, free: 99.25 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/5.247, allocations: 3.984 kB / 2.961 GB, free: 99.24 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.716e-05/5.247, allocations: 4 kB / 2.961 GB, free: 99.24 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/5.247, allocations: 0 / 2.961 GB, free: 99.24 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.676e-05/5.247, allocations: 104.9 kB / 2.961 GB, free: 99.13 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/5.247, allocations: 7.906 kB / 2.961 GB, free: 99.12 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/5.247, allocations: 7.688 kB / 2.961 GB, free: 99.11 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/5.247, allocations: 3.953 kB / 2.961 GB, free: 99.11 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/5.247, allocations: 4 kB / 2.961 GB, free: 99.11 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/5.248, allocations: 3.984 kB / 2.961 GB, free: 99.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/5.248, allocations: 319.4 kB / 2.962 GB, free: 98.74 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/5.248, allocations: 0 / 2.962 GB, free: 98.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.33e-05/5.248, allocations: 4 kB / 2.962 GB, free: 98.74 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/5.248, allocations: 0 / 2.962 GB, free: 98.74 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/5.248, allocations: 3.953 kB / 2.962 GB, free: 98.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/5.248, allocations: 0 / 2.962 GB, free: 98.73 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/5.248, allocations: 0 / 2.962 GB, free: 98.73 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.561e-05/5.248, allocations: 69.09 kB / 2.962 GB, free: 98.65 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/5.248, allocations: 77.11 kB / 2.962 GB, free: 98.55 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/5.248, allocations: 3.938 kB / 2.962 GB, free: 98.55 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.389e-05/5.248, allocations: 7.953 kB / 2.962 GB, free: 98.54 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/5.248, allocations: 0 / 2.962 GB, free: 98.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/5.248, allocations: 0 / 2.962 GB, free: 98.54 MB / 1.151 GB Notification: Performance of sorting global known variables: time 3.436e-05/5.248, allocations: 91.55 kB / 2.962 GB, free: 98.45 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.248, allocations: 4 kB / 2.962 GB, free: 98.45 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002548/5.248, allocations: 24 kB / 2.962 GB, free: 98.43 MB / 1.151 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 (1): * Single equations (assignments): 1 * 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.0007413/5.249, allocations: 0.6408 MB / 2.963 GB, free: 97.79 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 8.054e-05/5.249, allocations: 11.94 kB / 2.963 GB, free: 97.78 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/5.249, allocations: 4 kB / 2.963 GB, free: 97.77 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/5.249, allocations: 0 / 2.963 GB, free: 97.77 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/5.249, allocations: 9.203 kB / 2.963 GB, free: 97.77 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001971/5.25, allocations: 48.25 kB / 2.963 GB, free: 97.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/5.25, allocations: 0.6884 MB / 2.963 GB, free: 96.98 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 6.398e-05/5.25, allocations: 11.92 kB / 2.963 GB, free: 96.97 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/5.25, allocations: 7.438 kB / 2.963 GB, free: 96.96 MB / 1.151 GB Notification: Performance of SimCode: time 2.2e-07/5.25, allocations: 0 / 2.963 GB, free: 96.96 MB / 1.151 GB Notification: Performance of Templates: time 0.006443/5.256, allocations: 3.649 MB / 2.967 GB, free: 93.31 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches