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/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.00139/0.00139, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001442/0.001442, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9807/0.9807, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.451/2.451, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.8385 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.905e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1301/0.1302, allocations: 143.6 MB / 0.9787 GB, free: 14.2 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.000125/0.1303, allocations: 51.73 kB / 0.9788 GB, free: 14.15 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.1303, allocations: 0 / 0.9788 GB, free: 14.15 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.1304, allocations: 8 kB / 0.9788 GB, free: 14.14 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.1305, allocations: 15.86 kB / 0.9788 GB, free: 14.13 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000598/0.1311, allocations: 227 kB / 0.979 GB, free: 13.91 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.353e-05/0.1312, allocations: 31.84 kB / 0.9791 GB, free: 13.88 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.1312, allocations: 11.98 kB / 0.9791 GB, free: 13.86 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.464e-05/0.1313, allocations: 23.98 kB / 0.9791 GB, free: 13.84 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.1313, allocations: 7.984 kB / 0.9791 GB, free: 13.83 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1313, allocations: 0 / 0.9791 GB, free: 13.83 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.1316, allocations: 171.4 kB / 0.9793 GB, free: 13.66 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.1316, allocations: 3.984 kB / 0.9793 GB, free: 13.66 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.688e-05/0.1316, allocations: 8 kB / 0.9793 GB, free: 13.65 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1318, allocations: 115.6 kB / 0.9794 GB, free: 13.54 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1318, allocations: 0 / 0.9794 GB, free: 13.54 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1318, allocations: 0 / 0.9794 GB, free: 13.54 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.1318, allocations: 4 kB / 0.9794 GB, free: 13.54 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.0002672/0.1321, allocations: 240.6 kB / 0.9796 GB, free: 13.28 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1321, allocations: 16.61 kB / 0.9796 GB, free: 13.26 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.1324, allocations: 32.84 kB / 0.9797 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.503e-05/0.1324, allocations: 105.8 kB / 0.9798 GB, free: 13.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/0.1325, allocations: 59.91 kB / 0.9798 GB, free: 13.03 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.1325, allocations: 4.125 kB / 0.9798 GB, free: 13.03 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.1326, allocations: 86.91 kB / 0.9799 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1326, allocations: 0 / 0.9799 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.1326, allocations: 0 / 0.9799 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.1326, allocations: 11.92 kB / 0.9799 GB, free: 12.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.743e-05/0.1326, allocations: 8 kB / 0.9799 GB, free: 12.91 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.1328, allocations: 157.9 kB / 0.9801 GB, free: 12.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.716e-05/0.1329, allocations: 22.52 kB / 0.9801 GB, free: 12.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.226e-05/0.1329, allocations: 12.95 kB / 0.9801 GB, free: 12.69 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.789e-05/0.133, allocations: 12 kB / 0.9801 GB, free: 12.68 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.133, allocations: 38.5 kB / 0.9802 GB, free: 12.63 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.133, allocations: 4 kB / 0.9802 GB, free: 12.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001402/0.1331, allocations: 53.59 kB / 0.9802 GB, free: 12.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.1332, allocations: 55.41 kB / 0.9803 GB, free: 12.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.122e-05/0.1332, allocations: 98.72 kB / 0.9804 GB, free: 12.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.1332, allocations: 25.7 kB / 0.9804 GB, free: 12.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.1333, allocations: 84.09 kB / 0.9805 GB, free: 12.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-06/0.1333, allocations: 19.92 kB / 0.9805 GB, free: 12.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.1333, allocations: 13.72 kB / 0.9805 GB, free: 12.23 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.492e-05/0.1334, allocations: 310.8 kB / 0.9808 GB, free: 11.92 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.1334, allocations: 12.12 kB / 0.9808 GB, free: 11.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.1334, allocations: 26.5 kB / 0.9808 GB, free: 11.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.949e-05/0.1334, allocations: 25.39 kB / 0.9809 GB, free: 11.84 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1334, allocations: 7.938 kB / 0.9809 GB, free: 11.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.947e-05/0.1335, allocations: 49.62 kB / 0.9809 GB, free: 11.78 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1335, allocations: 4 kB / 0.9809 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1335, allocations: 96 / 0.9809 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1335, allocations: 4 kB / 0.9809 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.379e-05/0.1335, allocations: 11.94 kB / 0.9809 GB, free: 11.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.1335, allocations: 0 / 0.9809 GB, free: 11.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.1336, allocations: 4 kB / 0.9809 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1336, allocations: 3.984 kB / 0.9809 GB, free: 11.75 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.008e-05/0.1336, allocations: 116.5 kB / 0.981 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.1336, allocations: 4 kB / 0.981 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.716e-05/0.1336, allocations: 7.312 kB / 0.9811 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1336, allocations: 3.938 kB / 0.9811 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.1336, allocations: 0 / 0.9811 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1336, allocations: 8 kB / 0.9811 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.1338, allocations: 271.7 kB / 0.9813 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1338, allocations: 0 / 0.9813 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-06/0.1338, allocations: 4 kB / 0.9813 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1338, allocations: 3.984 kB / 0.9813 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.1338, allocations: 4 kB / 0.9813 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1338, allocations: 0 / 0.9813 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1338, allocations: 0 / 0.9813 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.81e-05/0.1339, allocations: 73.86 kB / 0.9814 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-06/0.1339, allocations: 8.078 kB / 0.9814 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.1339, allocations: 4.281 kB / 0.9814 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.1339, allocations: 0 / 0.9814 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-06/0.1339, allocations: 0 / 0.9814 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.1339, allocations: 4 kB / 0.9814 GB, free: 11.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.153e-05/0.1339, allocations: 12.83 kB / 0.9814 GB, free: 11.17 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1339, allocations: 4 kB / 0.9814 GB, free: 11.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001009/0.134, allocations: 8 kB / 0.9814 GB, free: 11.16 MB / 0.948 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 (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.187e-05/0.1341, allocations: 80.42 kB / 0.9815 GB, free: 11.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 4.768e-05/0.1342, allocations: 20.73 kB / 0.9815 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1342, allocations: 4 kB / 0.9815 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.235e-06/0.1342, allocations: 12.84 kB / 0.9816 GB, free: 11.02 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001046/0.1343, allocations: 15.98 kB / 0.9816 GB, free: 11.01 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.1346, allocations: 140.6 kB / 0.9817 GB, free: 10.84 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.415e-05/0.1346, allocations: 51.36 kB / 0.9818 GB, free: 10.77 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.057e-05/0.1347, allocations: 4 kB / 0.9818 GB, free: 10.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.1347, allocations: 63.34 kB / 0.9818 GB, free: 10.7 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/0.1347, allocations: 0 / 0.9818 GB, free: 10.7 MB / 0.948 GB Notification: Performance of Templates: time 0.002147/0.1369, allocations: 0.7928 MB / 0.9826 GB, free: 9.926 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.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.533582306001335]