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.001559/0.001559, allocations: 80.88 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.001039/0.001039, allocations: 181 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.9863/0.9863, allocations: 177.2 MB / 203.8 MB, free: 5.488 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.545/2.545, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.062e-06/1.062e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133e-05/1.239e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1277/0.1277, allocations: 143.6 MB / 0.9788 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.000131/0.1278, allocations: 47.75 kB / 0.9789 GB, free: 14.03 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.1278, allocations: 0 / 0.9789 GB, free: 14.03 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.128, allocations: 0 / 0.9789 GB, free: 14.03 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 8.217e-05/0.128, allocations: 23.84 kB / 0.9789 GB, free: 14 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.1286, allocations: 227 kB / 0.9791 GB, free: 13.78 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.427e-05/0.1287, allocations: 39.84 kB / 0.9792 GB, free: 13.74 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.1287, allocations: 4 kB / 0.9792 GB, free: 13.74 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.1288, allocations: 19.98 kB / 0.9792 GB, free: 13.72 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.142e-05/0.1289, allocations: 11.97 kB / 0.9792 GB, free: 13.71 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.1289, allocations: 4 kB / 0.9792 GB, free: 13.7 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002531/0.1291, allocations: 167.4 kB / 0.9794 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.654e-05/0.1292, allocations: 8 kB / 0.9794 GB, free: 13.53 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.471e-05/0.1292, allocations: 7.984 kB / 0.9794 GB, free: 13.52 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1293, allocations: 119.6 kB / 0.9795 GB, free: 13.41 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1294, allocations: 0 / 0.9795 GB, free: 13.41 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1294, allocations: 0 / 0.9795 GB, free: 13.41 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.1294, allocations: 0 / 0.9795 GB, free: 13.41 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.1296, allocations: 240.6 kB / 0.9797 GB, free: 13.15 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.1297, allocations: 8.625 kB / 0.9797 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.1299, allocations: 32.84 kB / 0.9798 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.1303, allocations: 113.8 kB / 0.9799 GB, free: 12.97 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.1303, allocations: 51.97 kB / 0.9799 GB, free: 12.91 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.1303, allocations: 12.11 kB / 0.9799 GB, free: 12.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.1304, allocations: 82.86 kB / 0.98 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.1304, allocations: 3.938 kB / 0.98 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1304, allocations: 4 kB / 0.98 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.1304, allocations: 0 / 0.98 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.75e-05/0.1305, allocations: 4 kB / 0.98 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.1307, allocations: 165.9 kB / 0.9802 GB, free: 12.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.261e-05/0.1307, allocations: 26.52 kB / 0.9802 GB, free: 12.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.1307, allocations: 8.922 kB / 0.9802 GB, free: 12.56 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.431e-05/0.1308, allocations: 15.97 kB / 0.9802 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.1308, allocations: 34.56 kB / 0.9803 GB, free: 12.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.1308, allocations: 3.984 kB / 0.9803 GB, free: 12.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001508/0.131, allocations: 49.62 kB / 0.9803 GB, free: 12.45 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.131, allocations: 55.53 kB / 0.9804 GB, free: 12.38 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.964e-05/0.131, allocations: 110.7 kB / 0.9805 GB, free: 12.26 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.131, allocations: 25.7 kB / 0.9805 GB, free: 12.23 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.1311, allocations: 84.09 kB / 0.9806 GB, free: 12.14 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.761e-06/0.1311, allocations: 7.938 kB / 0.9806 GB, free: 12.13 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.1311, allocations: 17.72 kB / 0.9806 GB, free: 12.11 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.738e-05/0.1312, allocations: 318.8 kB / 0.9809 GB, free: 11.79 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.68e-06/0.1312, allocations: 0 / 0.9809 GB, free: 11.79 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/0.1312, allocations: 22.52 kB / 0.9809 GB, free: 11.76 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.05e-05/0.1312, allocations: 37.38 kB / 0.981 GB, free: 11.71 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1312, allocations: 3.938 kB / 0.981 GB, free: 11.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.459e-05/0.1313, allocations: 45.62 kB / 0.981 GB, free: 11.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.1313, allocations: 8 kB / 0.981 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1313, allocations: 0 / 0.981 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1313, allocations: 3.938 kB / 0.981 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.411e-05/0.1313, allocations: 12 kB / 0.981 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.1313, allocations: 3.984 kB / 0.981 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.403e-05/0.1313, allocations: 96 / 0.981 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.1313, allocations: 8 kB / 0.981 GB, free: 11.62 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 4.704e-05/0.1314, allocations: 116.5 kB / 0.9811 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.1314, allocations: 4 kB / 0.9812 GB, free: 11.49 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.759e-05/0.1314, allocations: 11.3 kB / 0.9812 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.41e-07/0.1314, allocations: 0 / 0.9812 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1314, allocations: 0 / 0.9812 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1314, allocations: 0 / 0.9812 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.1316, allocations: 275.6 kB / 0.9814 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1316, allocations: 4 kB / 0.9814 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.348e-06/0.1316, allocations: 4.062 kB / 0.9814 GB, free: 11.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1316, allocations: 4 kB / 0.9814 GB, free: 11.17 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.1316, allocations: 4 kB / 0.9814 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.1316, allocations: 0 / 0.9814 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1316, allocations: 0 / 0.9814 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.208e-05/0.1317, allocations: 81.84 kB / 0.9815 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-06/0.1317, allocations: 0 / 0.9815 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.1317, allocations: 0 / 0.9815 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.1317, allocations: 7.984 kB / 0.9815 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-06/0.1317, allocations: 0 / 0.9815 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.1317, allocations: 8.031 kB / 0.9815 GB, free: 11.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.915e-06/0.1317, allocations: 4.859 kB / 0.9815 GB, free: 11.04 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1317, allocations: 0 / 0.9815 GB, free: 11.04 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001008/0.1318, allocations: 8 kB / 0.9815 GB, free: 11.03 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.267e-05/0.1319, allocations: 84.41 kB / 0.9816 GB, free: 10.94 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 4.763e-05/0.132, allocations: 20.73 kB / 0.9816 GB, free: 10.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.132, allocations: 0 / 0.9816 GB, free: 10.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.021e-06/0.132, allocations: 13.05 kB / 0.9817 GB, free: 10.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.1321, allocations: 11.98 kB / 0.9817 GB, free: 10.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.1324, allocations: 132.3 kB / 0.9818 GB, free: 10.73 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.72e-05/0.1324, allocations: 59.34 kB / 0.9819 GB, free: 10.65 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.1325, allocations: 12.53 kB / 0.9819 GB, free: 10.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.1325, allocations: 63.34 kB / 0.9819 GB, free: 10.57 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.1325, allocations: 0 / 0.9819 GB, free: 10.57 MB / 0.948 GB Notification: Performance of Templates: time 0.002221/0.1347, allocations: 0.7839 MB / 0.9827 GB, free: 9.801 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 -s gbode -gbm=radauIIA3 -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.465556250885129]