Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9909/0.9909, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.324/2.324, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.033e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1315/0.1316, allocations: 143.1 MB / 0.9783 GB, free: 14.51 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0001284/0.1317, allocations: 51.69 kB / 0.9784 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.1317, allocations: 0 / 0.9784 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.1318, allocations: 11.98 kB / 0.9784 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 8.531e-05/0.1319, allocations: 11.92 kB / 0.9784 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.1323, allocations: 119.5 kB / 0.9785 GB, free: 14.32 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.323e-05/0.1324, allocations: 35.84 kB / 0.9786 GB, free: 14.28 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.1324, allocations: 3.938 kB / 0.9786 GB, free: 14.28 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.284e-05/0.1325, allocations: 19.98 kB / 0.9786 GB, free: 14.26 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.1326, allocations: 23.91 kB / 0.9786 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.1326, allocations: 0 / 0.9786 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.1327, allocations: 63.81 kB / 0.9787 GB, free: 14.17 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.1328, allocations: 15.92 kB / 0.9787 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.1328, allocations: 7.984 kB / 0.9787 GB, free: 14.15 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.1329, allocations: 71.84 kB / 0.9787 GB, free: 14.08 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1329, allocations: 3.938 kB / 0.9788 GB, free: 14.07 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1329, allocations: 0 / 0.9788 GB, free: 14.07 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.1329, allocations: 0 / 0.9788 GB, free: 14.07 MB / 0.948 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.0002743/0.1332, allocations: 228.6 kB / 0.979 GB, free: 13.83 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1332, allocations: 19.97 kB / 0.979 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.1334, allocations: 32.84 kB / 0.979 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.35e-05/0.1335, allocations: 105.8 kB / 0.9791 GB, free: 13.65 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.1335, allocations: 55.97 kB / 0.9792 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.1335, allocations: 4.125 kB / 0.9792 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.1337, allocations: 82.91 kB / 0.9793 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.1337, allocations: 0 / 0.9793 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1337, allocations: 0 / 0.9793 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.1337, allocations: 4 kB / 0.9793 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.1337, allocations: 11.94 kB / 0.9793 GB, free: 13.46 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.1339, allocations: 161.9 kB / 0.9794 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 2.908e-05/0.134, allocations: 22.61 kB / 0.9794 GB, free: 13.26 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-06/0.134, allocations: 4.859 kB / 0.9795 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-06/0.134, allocations: 0 / 0.9795 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.784e-05/0.134, allocations: 38.61 kB / 0.9795 GB, free: 13.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 2.866e-06/0.1341, allocations: 0 / 0.9795 GB, free: 13.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.1342, allocations: 41.64 kB / 0.9795 GB, free: 13.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.1342, allocations: 51.41 kB / 0.9796 GB, free: 13.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.377e-05/0.1343, allocations: 106.7 kB / 0.9797 GB, free: 12.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1343, allocations: 25.7 kB / 0.9797 GB, free: 12.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.1343, allocations: 99.97 kB / 0.9798 GB, free: 12.84 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/0.1343, allocations: 0 / 0.9798 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.1344, allocations: 21.7 kB / 0.9798 GB, free: 12.82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.1345, allocations: 310.8 kB / 0.9801 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.1345, allocations: 4 kB / 0.9801 GB, free: 12.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.338e-05/0.1345, allocations: 30.55 kB / 0.9802 GB, free: 12.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.504e-05/0.1345, allocations: 37.39 kB / 0.9802 GB, free: 12.41 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1345, allocations: 4 kB / 0.9802 GB, free: 12.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.494e-05/0.1346, allocations: 45.62 kB / 0.9802 GB, free: 12.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1346, allocations: 4 kB / 0.9802 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1346, allocations: 0 / 0.9802 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1346, allocations: 0 / 0.9802 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.561e-05/0.1347, allocations: 8 kB / 0.9802 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.1347, allocations: 0 / 0.9802 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.1347, allocations: 16.03 kB / 0.9803 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-06/0.1347, allocations: 0 / 0.9803 GB, free: 12.33 MB / 0.948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.918e-05/0.1348, allocations: 120.5 kB / 0.9804 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.1348, allocations: 3.984 kB / 0.9804 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.845e-05/0.1348, allocations: 3.156 kB / 0.9804 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1348, allocations: 0 / 0.9804 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1348, allocations: 0 / 0.9804 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1348, allocations: 0 / 0.9804 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.135, allocations: 267.1 kB / 0.9806 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.135, allocations: 4 kB / 0.9806 GB, free: 11.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-05/0.135, allocations: 8.031 kB / 0.9806 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.135, allocations: 0 / 0.9806 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-06/0.135, allocations: 3.938 kB / 0.9807 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.135, allocations: 0 / 0.9807 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.135, allocations: 0 / 0.9807 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.314e-05/0.1351, allocations: 61.06 kB / 0.9807 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.1351, allocations: 4 kB / 0.9807 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.1351, allocations: 0 / 0.9807 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-05/0.1351, allocations: 0 / 0.9807 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-06/0.1351, allocations: 0 / 0.9807 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.1351, allocations: 8.031 kB / 0.9807 GB, free: 11.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.412e-05/0.1351, allocations: 12.84 kB / 0.9807 GB, free: 11.79 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1351, allocations: 0 / 0.9807 GB, free: 11.79 MB / 0.948 GB Notification: Performance of remove unused functions: time 9.537e-05/0.1352, allocations: 4 kB / 0.9807 GB, free: 11.78 MB / 0.948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.066e-05/0.1353, allocations: 76.42 kB / 0.9808 GB, free: 11.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.516e-05/0.1354, allocations: 20.8 kB / 0.9808 GB, free: 11.67 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.1354, allocations: 0 / 0.9808 GB, free: 11.67 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-06/0.1354, allocations: 8.859 kB / 0.9808 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.1355, allocations: 16.17 kB / 0.9809 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.1358, allocations: 131.3 kB / 0.981 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.44e-05/0.1359, allocations: 59.34 kB / 0.981 GB, free: 11.41 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.697e-05/0.1359, allocations: 0 / 0.981 GB, free: 11.41 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.223e-05/0.136, allocations: 63.36 kB / 0.9811 GB, free: 11.35 MB / 0.948 GB Notification: Performance of SimCode: time 7.21e-07/0.136, allocations: 0 / 0.9811 GB, free: 11.35 MB / 0.948 GB Notification: Performance of Templates: time 0.002446/0.1384, allocations: 0.6328 MB / 0.9817 GB, free: 10.76 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3418827801942825]