Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.749/1.749, allocations: 249.3 MB / 261.8 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.00112, allocations: 178.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.0008074/0.0008073, allocations: 86.53 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.114e-05/4.117e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2446, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.612/6.856, allocations: 2.171 GB / 3.063 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004209/6.857, allocations: 71.97 kB / 3.063 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1112/6.968, allocations: 36.61 MB / 3.099 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.595e-06/6.968, allocations: 0 / 3.099 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.186e-05/6.968, allocations: 0 / 3.099 GB, free: 161.7 MB / 0.8698 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.0005118/6.969, allocations: 338.5 kB / 3.099 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.553e-05/6.969, allocations: 12.03 kB / 3.099 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000428/6.969, allocations: 23.92 kB / 3.099 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/6.969, allocations: 167.1 kB / 3.1 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/6.97, allocations: 25.7 kB / 3.1 GB, free: 161 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/6.97, allocations: 3.984 kB / 3.1 GB, free: 161 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/6.97, allocations: 53.61 kB / 3.1 GB, free: 161 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/6.97, allocations: 4 kB / 3.1 GB, free: 161 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/6.97, allocations: 0 / 3.1 GB, free: 161 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/6.97, allocations: 7.953 kB / 3.1 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.549e-05/6.97, allocations: 19.98 kB / 3.1 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/6.97, allocations: 244.9 kB / 3.1 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.469e-05/6.97, allocations: 30.55 kB / 3.1 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/6.971, allocations: 12.86 kB / 3.1 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/6.971, allocations: 93.16 kB / 3.1 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/6.971, allocations: 34.52 kB / 3.1 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 3.457e-06/6.971, allocations: 0 / 3.1 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003051/6.971, allocations: 53.53 kB / 3.1 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/6.971, allocations: 51.41 kB / 3.1 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/6.971, allocations: 97.03 kB / 3.1 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/6.971, allocations: 25.7 kB / 3.1 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/6.971, allocations: 91.98 kB / 3.1 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/6.971, allocations: 7.891 kB / 3.1 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-06/6.971, allocations: 4 kB / 3.1 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.243e-05/6.971, allocations: 314.8 kB / 3.101 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/6.972, allocations: 8 kB / 3.101 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/6.972, allocations: 22.58 kB / 3.101 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.634e-05/6.972, allocations: 7.984 kB / 3.101 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/6.972, allocations: 0 / 3.101 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001136/6.972, allocations: 53.58 kB / 3.101 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/6.972, allocations: 11.98 kB / 3.101 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/6.972, allocations: 3.953 kB / 3.101 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/6.972, allocations: 4.094 kB / 3.101 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/6.972, allocations: 8 kB / 3.101 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/6.972, allocations: 3.984 kB / 3.101 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.216e-05/6.972, allocations: 8 kB / 3.101 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/6.972, allocations: 4 kB / 3.101 GB, free: 159.6 MB / 0.8698 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 7.074e-05/6.972, allocations: 104.9 kB / 3.101 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/6.972, allocations: 4 kB / 3.101 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/6.972, allocations: 11.08 kB / 3.101 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/6.972, allocations: 3.953 kB / 3.101 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/6.972, allocations: 4 kB / 3.101 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/6.972, allocations: 3.984 kB / 3.101 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/6.972, allocations: 359.5 kB / 3.101 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/6.972, allocations: 4 kB / 3.101 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/6.972, allocations: 3.953 kB / 3.101 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/6.972, allocations: 7.984 kB / 3.101 GB, free: 159 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/6.972, allocations: 0 / 3.101 GB, free: 159 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/6.972, allocations: 0 / 3.101 GB, free: 159 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/6.972, allocations: 4.062 kB / 3.101 GB, free: 159 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.314e-05/6.973, allocations: 83.67 kB / 3.101 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/6.973, allocations: 77.11 kB / 3.101 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/6.973, allocations: 3.984 kB / 3.101 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.273e-05/6.973, allocations: 7.969 kB / 3.101 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/6.973, allocations: 11.94 kB / 3.101 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/6.973, allocations: 288 / 3.101 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.454e-05/6.973, allocations: 83.27 kB / 3.101 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.973, allocations: 0 / 3.101 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003343/6.973, allocations: 39.98 kB / 3.102 GB, free: 158.7 MB / 0.8698 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.0007912/6.974, allocations: 0.5515 MB / 3.102 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.987e-05/6.974, allocations: 11.94 kB / 3.102 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/6.974, allocations: 4.188 kB / 3.102 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.196e-05/6.974, allocations: 7.938 kB / 3.102 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/6.974, allocations: 11.95 kB / 3.102 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002159/6.974, allocations: 70.22 kB / 3.102 GB, free: 158 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/6.975, allocations: 0.6809 MB / 3.103 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.942e-05/6.975, allocations: 12.11 kB / 3.103 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/6.975, allocations: 7.438 kB / 3.103 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/6.975, allocations: 0 / 3.103 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.01201/6.987, allocations: 9.253 MB / 3.112 GB, free: 148 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches