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.309/2.309, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001109/0.001108, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.667/1.667, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.001017/0.001017, allocations: 91.61 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.257e-05, allocations: 0 / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3406, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.957/5.297, allocations: 1.712 GB / 2.931 GB, free: 103 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/5.298, allocations: 68.78 kB / 2.931 GB, free: 103 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.06828/5.366, allocations: 37.34 MB / 2.967 GB, free: 65.12 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.653e-06/5.366, allocations: 0 / 2.967 GB, free: 65.12 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.866e-06/5.366, allocations: 4 kB / 2.967 GB, free: 65.12 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.000294/5.366, allocations: 330.4 kB / 2.968 GB, free: 64.75 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/5.366, allocations: 8.031 kB / 2.968 GB, free: 64.74 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/5.367, allocations: 27.97 kB / 2.968 GB, free: 64.71 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/5.367, allocations: 163.1 kB / 2.968 GB, free: 64.52 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/5.367, allocations: 33.69 kB / 2.968 GB, free: 64.48 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/5.367, allocations: 7.938 kB / 2.968 GB, free: 64.47 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/5.367, allocations: 49.67 kB / 2.968 GB, free: 64.41 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/5.367, allocations: 7.891 kB / 2.968 GB, free: 64.41 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/5.367, allocations: 0 / 2.968 GB, free: 64.41 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/5.367, allocations: 0 / 2.968 GB, free: 64.41 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.579e-05/5.367, allocations: 19.98 kB / 2.968 GB, free: 64.39 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/5.367, allocations: 261.5 kB / 2.968 GB, free: 64.08 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.49e-05/5.368, allocations: 22.53 kB / 2.968 GB, free: 64.05 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/5.368, allocations: 12.92 kB / 2.968 GB, free: 64.04 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/5.368, allocations: 89.09 kB / 2.968 GB, free: 63.93 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/5.368, allocations: 38.5 kB / 2.968 GB, free: 63.88 MB / 1.167 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/5.368, allocations: 4 kB / 2.968 GB, free: 63.88 MB / 1.167 GB Notification: Performance of matching and sorting (n=2): time 0.0002103/5.368, allocations: 45.69 kB / 2.968 GB, free: 63.83 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/5.368, allocations: 51.41 kB / 2.968 GB, free: 63.77 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/5.368, allocations: 92.98 kB / 2.968 GB, free: 63.67 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/5.368, allocations: 29.7 kB / 2.968 GB, free: 63.63 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/5.368, allocations: 88.05 kB / 2.969 GB, free: 63.54 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-06/5.368, allocations: 3.906 kB / 2.969 GB, free: 63.54 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/5.368, allocations: 0 / 2.969 GB, free: 63.54 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.308e-05/5.368, allocations: 318.9 kB / 2.969 GB, free: 63.22 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/5.368, allocations: 4 kB / 2.969 GB, free: 63.21 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/5.368, allocations: 22.56 kB / 2.969 GB, free: 63.18 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.357e-05/5.368, allocations: 11.94 kB / 2.969 GB, free: 63.17 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/5.368, allocations: 0 / 2.969 GB, free: 63.17 MB / 1.167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.775e-05/5.368, allocations: 61.58 kB / 2.969 GB, free: 63.11 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/5.368, allocations: 5.406 kB / 2.969 GB, free: 63.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/5.368, allocations: 0 / 2.969 GB, free: 63.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/5.368, allocations: 4 kB / 2.969 GB, free: 63.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/5.369, allocations: 4 kB / 2.969 GB, free: 63.09 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/5.369, allocations: 3.984 kB / 2.969 GB, free: 63.09 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/5.369, allocations: 11.94 kB / 2.969 GB, free: 63.08 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/5.369, allocations: 0 / 2.969 GB, free: 63.08 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 () * 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.441e-05/5.369, allocations: 113 kB / 2.969 GB, free: 62.96 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/5.369, allocations: 7.938 kB / 2.969 GB, free: 62.95 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/5.369, allocations: 7.125 kB / 2.969 GB, free: 62.95 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/5.369, allocations: 3.938 kB / 2.969 GB, free: 62.94 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/5.369, allocations: 0 / 2.969 GB, free: 62.94 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/5.369, allocations: 4 kB / 2.969 GB, free: 62.94 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/5.369, allocations: 363.4 kB / 2.969 GB, free: 62.52 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/5.369, allocations: 64 / 2.969 GB, free: 62.52 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/5.369, allocations: 8 kB / 2.969 GB, free: 62.51 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/5.369, allocations: 0 / 2.969 GB, free: 62.51 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/5.369, allocations: 4 kB / 2.969 GB, free: 62.51 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/5.369, allocations: 3.938 kB / 2.969 GB, free: 62.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/5.369, allocations: 4 kB / 2.969 GB, free: 62.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.526e-05/5.369, allocations: 87.66 kB / 2.97 GB, free: 62.39 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/5.369, allocations: 81.11 kB / 2.97 GB, free: 62.29 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/5.369, allocations: 0 / 2.97 GB, free: 62.29 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.364e-05/5.369, allocations: 4 kB / 2.97 GB, free: 62.29 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/5.369, allocations: 0 / 2.97 GB, free: 62.29 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/5.369, allocations: 288 / 2.97 GB, free: 62.29 MB / 1.167 GB Notification: Performance of sorting global known variables: time 2.446e-05/5.369, allocations: 87.25 kB / 2.97 GB, free: 62.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/5.369, allocations: 0 / 2.97 GB, free: 62.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0002928/5.37, allocations: 43.98 kB / 2.97 GB, free: 62.16 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 () * 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.0006301/5.37, allocations: 0.5513 MB / 2.97 GB, free: 61.61 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 8.91e-05/5.37, allocations: 12 kB / 2.97 GB, free: 61.59 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/5.37, allocations: 0 / 2.97 GB, free: 61.59 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 1.246e-05/5.37, allocations: 11.94 kB / 2.97 GB, free: 61.58 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/5.371, allocations: 8.625 kB / 2.97 GB, free: 61.57 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/5.371, allocations: 70.16 kB / 2.97 GB, free: 61.48 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/5.371, allocations: 0.6847 MB / 2.971 GB, free: 60.77 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 5.655e-05/5.371, allocations: 4 kB / 2.971 GB, free: 60.77 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/5.371, allocations: 15.38 kB / 2.971 GB, free: 60.75 MB / 1.167 GB Notification: Performance of SimCode: time 3.11e-07/5.371, allocations: 0 / 2.971 GB, free: 60.75 MB / 1.167 GB Notification: Performance of Templates: time 0.01128/5.382, allocations: 9.299 MB / 2.98 GB, free: 51.44 MB / 1.167 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