Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001307/0.001307, allocations: 183.1 kB / 326.5 MB, free: 2.227 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.725/1.725, allocations: 205.4 MB / 0.5775 GB, free: 20.19 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.001011/0.001011, allocations: 99.8 kB / 0.6821 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003795, allocations: 6.656 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2459, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.81/11.06, allocations: 4.605 GB / 5.505 GB, free: 238 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/11.06, allocations: 88.52 kB / 5.505 GB, free: 238 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.07721/11.13, allocations: 45.23 MB / 5.549 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.056e-06/11.13, allocations: 0 / 5.549 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.542e-06/11.13, allocations: 3.938 kB / 5.549 GB, free: 224.3 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.0002731/11.13, allocations: 343.6 kB / 5.55 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/11.13, allocations: 12.03 kB / 5.55 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/11.13, allocations: 19.97 kB / 5.55 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.098e-05/11.13, allocations: 159.1 kB / 5.55 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/11.13, allocations: 29.69 kB / 5.55 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-06/11.13, allocations: 6.75 kB / 5.55 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/11.13, allocations: 48.2 kB / 5.55 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/11.13, allocations: 0 / 5.55 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/11.13, allocations: 4 kB / 5.55 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/11.13, allocations: 3.938 kB / 5.55 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.696e-05/11.14, allocations: 18.55 kB / 5.55 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/11.14, allocations: 256.5 kB / 5.55 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.172e-05/11.14, allocations: 20.95 kB / 5.55 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/11.14, allocations: 0 / 5.55 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/11.14, allocations: 30.56 kB / 5.55 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/11.14, allocations: 0 / 5.55 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/11.14, allocations: 48.09 kB / 5.55 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/11.14, allocations: 55.34 kB / 5.55 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.023e-05/11.14, allocations: 95.56 kB / 5.55 GB, free: 223 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/11.14, allocations: 29.83 kB / 5.55 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/11.14, allocations: 94.28 kB / 5.55 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-06/11.14, allocations: 3.906 kB / 5.55 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/11.14, allocations: 4 kB / 5.55 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.355e-05/11.14, allocations: 317.6 kB / 5.551 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/11.14, allocations: 4 kB / 5.551 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.977e-05/11.14, allocations: 25 kB / 5.551 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.251e-05/11.14, allocations: 14.56 kB / 5.551 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/11.14, allocations: 0 / 5.551 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.361e-05/11.14, allocations: 58.77 kB / 5.551 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/11.14, allocations: 4 kB / 5.551 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/11.14, allocations: 4 kB / 5.551 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/11.14, allocations: 0 / 5.551 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.788e-05/11.14, allocations: 4 kB / 5.551 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/11.14, allocations: 4 kB / 5.551 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/11.14, allocations: 4.094 kB / 5.551 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/11.14, allocations: 256 / 5.551 GB, free: 222.4 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 5.632e-05/11.14, allocations: 116.4 kB / 5.551 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/11.14, allocations: 3.953 kB / 5.551 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.463e-05/11.14, allocations: 7.125 kB / 5.551 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/11.14, allocations: 0 / 5.551 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/11.14, allocations: 4 kB / 5.551 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/11.14, allocations: 0 / 5.551 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/11.14, allocations: 359.7 kB / 5.551 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/11.14, allocations: 0 / 5.551 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.264e-05/11.14, allocations: 4 kB / 5.551 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/11.14, allocations: 0 / 5.551 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/11.14, allocations: 0 / 5.551 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/11.14, allocations: 0 / 5.551 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/11.14, allocations: 0 / 5.551 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.565e-05/11.14, allocations: 67.38 kB / 5.551 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/11.14, allocations: 83.84 kB / 5.551 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/11.14, allocations: 0 / 5.551 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/11.14, allocations: 4 kB / 5.551 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/11.14, allocations: 96 / 5.551 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/11.14, allocations: 3.984 kB / 5.551 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.486e-05/11.14, allocations: 85.7 kB / 5.552 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/11.14, allocations: 4 kB / 5.552 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003001/11.14, allocations: 35.38 kB / 5.552 GB, free: 221.6 MB / 0.8855 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 () * Number of clocked 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.0005331/11.14, allocations: 0.5747 MB / 5.552 GB, free: 221 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.71e-05/11.14, allocations: 10.44 kB / 5.552 GB, free: 221 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/11.14, allocations: 192 / 5.552 GB, free: 221 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.67e-06/11.14, allocations: 7.938 kB / 5.552 GB, free: 221 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/11.14, allocations: 9.984 kB / 5.552 GB, free: 221 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001839/11.14, allocations: 119.2 kB / 5.552 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/11.14, allocations: 0.6809 MB / 5.553 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.267e-05/11.14, allocations: 16.03 kB / 5.553 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/11.14, allocations: 11.44 kB / 5.553 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/11.14, allocations: 0 / 5.553 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.009168/11.15, allocations: 7.856 MB / 5.561 GB, free: 212.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches