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.35/1.35, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 184.9 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008302/0.0008302, allocations: 82.38 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 10.28 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2624, allocations: 106.3 MB / 0.9001 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.061/5.323, allocations: 2.171 GB / 3.072 GB, free: 5.91 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/5.324, allocations: 77.64 kB / 3.072 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5905/5.914, allocations: 36.67 MB / 3.107 GB, free: 333.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.503e-06/5.914, allocations: 0 / 3.107 GB, free: 333.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.173e-06/5.914, allocations: 0 / 3.107 GB, free: 333.6 MB / 0.8855 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.0003462/5.915, allocations: 348.4 kB / 3.108 GB, free: 333.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/5.915, allocations: 9.312 kB / 3.108 GB, free: 333.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/5.915, allocations: 20.55 kB / 3.108 GB, free: 333.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/5.915, allocations: 169.9 kB / 3.108 GB, free: 333.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.874e-05/5.915, allocations: 25.7 kB / 3.108 GB, free: 333 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/5.915, allocations: 5.516 kB / 3.108 GB, free: 333 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/5.915, allocations: 48.95 kB / 3.108 GB, free: 333 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/5.915, allocations: 3.953 kB / 3.108 GB, free: 333 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/5.915, allocations: 4 kB / 3.108 GB, free: 333 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/5.915, allocations: 1.812 kB / 3.108 GB, free: 333 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.953e-05/5.915, allocations: 17.83 kB / 3.108 GB, free: 333 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/5.916, allocations: 249.4 kB / 3.108 GB, free: 332.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.412e-05/5.916, allocations: 34.97 kB / 3.108 GB, free: 332.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/5.916, allocations: 92.59 kB / 3.108 GB, free: 332.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/5.916, allocations: 37.41 kB / 3.108 GB, free: 332.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/5.916, allocations: 3.938 kB / 3.108 GB, free: 332.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0002646/5.916, allocations: 51.22 kB / 3.109 GB, free: 332.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/5.916, allocations: 55.34 kB / 3.109 GB, free: 332.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.565e-05/5.917, allocations: 92.94 kB / 3.109 GB, free: 332.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/5.917, allocations: 32.64 kB / 3.109 GB, free: 332.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/5.917, allocations: 91.73 kB / 3.109 GB, free: 332.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/5.917, allocations: 7.844 kB / 3.109 GB, free: 332.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/5.917, allocations: 2.5 kB / 3.109 GB, free: 332.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001358/5.917, allocations: 310.8 kB / 3.109 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/5.917, allocations: 2.531 kB / 3.109 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/5.917, allocations: 29.05 kB / 3.109 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/5.917, allocations: 7.469 kB / 3.109 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/5.917, allocations: 0 / 3.109 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.114e-05/5.917, allocations: 52.92 kB / 3.109 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/5.917, allocations: 12.42 kB / 3.109 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/5.917, allocations: 0 / 3.109 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/5.917, allocations: 1.906 kB / 3.109 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/5.917, allocations: 6.594 kB / 3.109 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/5.917, allocations: 4.031 kB / 3.109 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/5.917, allocations: 15.22 kB / 3.109 GB, free: 331.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/5.917, allocations: 0 / 3.109 GB, free: 331.8 MB / 0.8855 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 9.701e-05/5.917, allocations: 114.3 kB / 3.109 GB, free: 331.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/5.917, allocations: 0 / 3.109 GB, free: 331.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/5.917, allocations: 13.67 kB / 3.109 GB, free: 331.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/5.917, allocations: 288 / 3.109 GB, free: 331.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/5.917, allocations: 0 / 3.109 GB, free: 331.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/5.917, allocations: 3.984 kB / 3.109 GB, free: 331.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/5.918, allocations: 371.8 kB / 3.11 GB, free: 331.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/5.918, allocations: 0 / 3.11 GB, free: 331.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/5.918, allocations: 5.938 kB / 3.11 GB, free: 331.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/5.918, allocations: 4 kB / 3.11 GB, free: 331.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/5.918, allocations: 0 / 3.11 GB, free: 331.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/5.918, allocations: 0 / 3.11 GB, free: 331.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/5.918, allocations: 1.562 kB / 3.11 GB, free: 331.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/5.918, allocations: 90.66 kB / 3.11 GB, free: 331.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/5.918, allocations: 77.11 kB / 3.11 GB, free: 331.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/5.918, allocations: 2.281 kB / 3.11 GB, free: 331.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/5.918, allocations: 6.344 kB / 3.11 GB, free: 331.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/5.918, allocations: 2.969 kB / 3.11 GB, free: 331.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/5.918, allocations: 6.969 kB / 3.11 GB, free: 331.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.814e-05/5.918, allocations: 81.22 kB / 3.11 GB, free: 331.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/5.918, allocations: 3.938 kB / 3.11 GB, free: 331.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004679/5.919, allocations: 40.66 kB / 3.11 GB, free: 331 MB / 0.8855 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.0008213/5.92, allocations: 0.5568 MB / 3.111 GB, free: 330.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.814e-05/5.92, allocations: 16.77 kB / 3.111 GB, free: 330.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/5.92, allocations: 0 / 3.111 GB, free: 330.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-05/5.92, allocations: 7.875 kB / 3.111 GB, free: 330.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/5.92, allocations: 14.23 kB / 3.111 GB, free: 330.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/5.92, allocations: 131.9 kB / 3.111 GB, free: 330.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/5.92, allocations: 0.6806 MB / 3.111 GB, free: 329.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.649e-05/5.92, allocations: 7.406 kB / 3.111 GB, free: 329.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/5.92, allocations: 7.438 kB / 3.111 GB, free: 329.9 MB / 0.8855 GB Notification: Performance of SimCode: time 2.91e-07/5.92, allocations: 0 / 3.111 GB, free: 329.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.009959/5.93, allocations: 7.579 MB / 3.119 GB, free: 326.8 MB / 0.8855 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