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.517/1.517, allocations: 249.5 MB / 257 MB, free: 6.941 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.001141/0.001141, allocations: 195.1 kB / 316.3 MB, free: 3.219 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.989/1.989, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.001018/0.001018, allocations: 86.47 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.964e-05/1.968e-05, allocations: 0 / 0.7813 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2569, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.718/6.975, allocations: 2.172 GB / 3.057 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/6.975, allocations: 75.91 kB / 3.057 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0672/7.042, allocations: 35.98 MB / 3.092 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.264e-06/7.042, allocations: 0 / 3.092 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.697e-06/7.042, allocations: 0 / 3.092 GB, free: 184.3 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.000344/7.043, allocations: 338.5 kB / 3.092 GB, free: 184 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/7.043, allocations: 8.031 kB / 3.092 GB, free: 184 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/7.043, allocations: 27.92 kB / 3.092 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/7.043, allocations: 163 kB / 3.093 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.265e-05/7.043, allocations: 29.7 kB / 3.093 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/7.043, allocations: 0 / 3.093 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001026/7.043, allocations: 19.98 kB / 3.093 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.214e-05/7.044, allocations: 45.69 kB / 3.093 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/7.044, allocations: 4 kB / 3.093 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/7.044, allocations: 3.953 kB / 3.093 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/7.044, allocations: 3.984 kB / 3.093 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/7.044, allocations: 322.5 kB / 3.093 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.382e-05/7.044, allocations: 26.52 kB / 3.093 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/7.044, allocations: 8.922 kB / 3.093 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/7.044, allocations: 3.984 kB / 3.093 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/7.044, allocations: 30.56 kB / 3.093 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.813e-06/7.044, allocations: 0 / 3.093 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0002266/7.044, allocations: 45.58 kB / 3.093 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/7.045, allocations: 55.44 kB / 3.093 GB, free: 183 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.974e-05/7.045, allocations: 101 kB / 3.093 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/7.045, allocations: 25.7 kB / 3.093 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/7.045, allocations: 91.98 kB / 3.093 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.424e-06/7.045, allocations: 7.906 kB / 3.093 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/7.045, allocations: 0 / 3.093 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.214e-05/7.045, allocations: 314.8 kB / 3.094 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/7.045, allocations: 4 kB / 3.094 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.421e-05/7.045, allocations: 30.56 kB / 3.094 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.95e-05/7.045, allocations: 4 kB / 3.094 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/7.045, allocations: 0 / 3.094 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.034e-05/7.045, allocations: 49.62 kB / 3.094 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/7.045, allocations: 6.188 kB / 3.094 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/7.045, allocations: 0 / 3.094 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/7.045, allocations: 4 kB / 3.094 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/7.045, allocations: 16.05 kB / 3.094 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/7.045, allocations: 0 / 3.094 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.619e-05/7.045, allocations: 4 kB / 3.094 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/7.045, allocations: 0 / 3.094 GB, free: 182.4 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 6.877e-05/7.045, allocations: 105 kB / 3.094 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/7.045, allocations: 4 kB / 3.094 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/7.045, allocations: 11.64 kB / 3.094 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/7.045, allocations: 0 / 3.094 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/7.045, allocations: 3.953 kB / 3.094 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/7.045, allocations: 4 kB / 3.094 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/7.046, allocations: 327.5 kB / 3.094 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/7.046, allocations: 4 kB / 3.094 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.257e-05/7.046, allocations: 4 kB / 3.094 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/7.046, allocations: 0 / 3.094 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/7.046, allocations: 3.984 kB / 3.094 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/7.046, allocations: 3.953 kB / 3.094 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/7.046, allocations: 0 / 3.094 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.945e-05/7.046, allocations: 61.17 kB / 3.094 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/7.046, allocations: 77.11 kB / 3.094 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/7.046, allocations: 7.875 kB / 3.094 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.434e-05/7.046, allocations: 7.984 kB / 3.094 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/7.046, allocations: 3.953 kB / 3.094 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/7.046, allocations: 0 / 3.094 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.377e-05/7.046, allocations: 83.31 kB / 3.094 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/7.046, allocations: 4 kB / 3.094 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002479/7.046, allocations: 31.98 kB / 3.095 GB, free: 181.5 MB / 0.8698 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.0007446/7.047, allocations: 0.6457 MB / 3.095 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.17e-05/7.047, allocations: 12 kB / 3.095 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/7.047, allocations: 0 / 3.095 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.619e-06/7.047, allocations: 3.938 kB / 3.095 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/7.047, allocations: 7.938 kB / 3.095 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002013/7.047, allocations: 60.19 kB / 3.095 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/7.048, allocations: 0.6807 MB / 3.096 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.449e-05/7.048, allocations: 4 kB / 3.096 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/7.048, allocations: 7.438 kB / 3.096 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/7.048, allocations: 0 / 3.096 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.006409/7.054, allocations: 3.593 MB / 3.099 GB, free: 176.5 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