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.001417/0.001417, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001674/0.001674, allocations: 173.3 kB / 23.02 MB, free: 1.547 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.9371/0.9371, allocations: 177.1 MB / 203.4 MB, free: 5.594 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.178/2.178, allocations: 429.5 MB / 0.6732 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.893e-06/1.893e-06, allocations: 0 / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.822e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1321/0.1322, allocations: 144.2 MB / 1.019 GB, free: 5.676 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0001236/0.1323, allocations: 51.8 kB / 1.019 GB, free: 5.625 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.1323, allocations: 0 / 1.019 GB, free: 5.625 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.1325, allocations: 11.88 kB / 1.019 GB, free: 5.613 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 8.271e-05/0.1325, allocations: 11.97 kB / 1.019 GB, free: 5.602 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006567/0.1332, allocations: 223 kB / 1.019 GB, free: 5.383 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 8.402e-05/0.1333, allocations: 39.84 kB / 1.019 GB, free: 5.344 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.1333, allocations: 3.984 kB / 1.019 GB, free: 5.34 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 5.35e-05/0.1334, allocations: 23.97 kB / 1.019 GB, free: 5.316 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.1334, allocations: 7.938 kB / 1.019 GB, free: 5.309 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1334, allocations: 4 kB / 1.019 GB, free: 5.305 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.1337, allocations: 167.4 kB / 1.019 GB, free: 5.141 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.1338, allocations: 15.92 kB / 1.019 GB, free: 5.125 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.1338, allocations: 4 kB / 1.019 GB, free: 5.121 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.134, allocations: 115.7 kB / 1.02 GB, free: 5.008 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.134, allocations: 0 / 1.02 GB, free: 5.008 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.543e-06/0.134, allocations: 0 / 1.02 GB, free: 5.008 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.134, allocations: 3.938 kB / 1.02 GB, free: 5.004 MB / 0.9792 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.0003537/0.1344, allocations: 372.5 kB / 1.02 GB, free: 4.605 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1344, allocations: 8.031 kB / 1.02 GB, free: 4.598 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.1347, allocations: 36.84 kB / 1.02 GB, free: 4.562 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.419e-05/0.1348, allocations: 112.6 kB / 1.02 GB, free: 4.426 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.501e-05/0.1349, allocations: 63.89 kB / 1.02 GB, free: 4.352 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.1349, allocations: 8.109 kB / 1.02 GB, free: 4.344 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1351, allocations: 76.09 kB / 1.02 GB, free: 4.254 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1351, allocations: 0 / 1.02 GB, free: 4.254 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1351, allocations: 0 / 1.02 GB, free: 4.254 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.1351, allocations: 4 kB / 1.02 GB, free: 4.25 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.77e-05/0.1351, allocations: 15.98 kB / 1.02 GB, free: 4.234 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.1355, allocations: 263.7 kB / 1.02 GB, free: 3.941 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 7.131e-05/0.1356, allocations: 31 kB / 1.021 GB, free: 3.898 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.1356, allocations: 11.75 kB / 1.021 GB, free: 3.883 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.1358, allocations: 15.98 kB / 1.021 GB, free: 3.867 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.1358, allocations: 37.39 kB / 1.021 GB, free: 3.82 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=2): time 2.305e-06/0.1358, allocations: 0 / 1.021 GB, free: 3.82 MB / 0.9792 GB Notification: Performance of matching and sorting (n=2): time 0.0002637/0.1361, allocations: 49.78 kB / 1.021 GB, free: 3.766 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.1361, allocations: 59.34 kB / 1.021 GB, free: 3.695 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.1362, allocations: 157.9 kB / 1.021 GB, free: 3.523 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1362, allocations: 25.7 kB / 1.021 GB, free: 3.492 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.1363, allocations: 142.8 kB / 1.021 GB, free: 3.348 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 8.326e-06/0.1363, allocations: 3.953 kB / 1.021 GB, free: 3.344 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.1363, allocations: 23.38 kB / 1.021 GB, free: 3.312 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1365, allocations: 496.1 kB / 1.021 GB, free: 2.816 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.1365, allocations: 7.984 kB / 1.021 GB, free: 2.809 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.004e-05/0.1365, allocations: 31.06 kB / 1.022 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.016e-05/0.1366, allocations: 39.03 kB / 1.022 GB, free: 2.715 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1366, allocations: 0 / 1.022 GB, free: 2.715 MB / 0.9792 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.358e-05/0.1367, allocations: 57.58 kB / 1.022 GB, free: 2.652 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1367, allocations: 7.938 kB / 1.022 GB, free: 2.645 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1367, allocations: 0 / 1.022 GB, free: 2.645 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.1367, allocations: 0 / 1.022 GB, free: 2.645 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.1368, allocations: 8 kB / 1.022 GB, free: 2.637 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1368, allocations: 96 / 1.022 GB, free: 2.637 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.167e-05/0.1368, allocations: 12 kB / 1.022 GB, free: 2.625 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1368, allocations: 0 / 1.022 GB, free: 2.625 MB / 0.9792 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 7.408e-05/0.1369, allocations: 164.5 kB / 1.022 GB, free: 2.453 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.1369, allocations: 0 / 1.022 GB, free: 2.453 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.1371, allocations: 7.312 kB / 1.022 GB, free: 2.441 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1371, allocations: 0 / 1.022 GB, free: 2.441 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1372, allocations: 8 kB / 1.022 GB, free: 2.434 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1372, allocations: 0 / 1.022 GB, free: 2.434 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.1374, allocations: 412 kB / 1.022 GB, free: 1.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1374, allocations: 4.062 kB / 1.022 GB, free: 1.977 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.1374, allocations: 4 kB / 1.022 GB, free: 1.973 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1374, allocations: 0 / 1.022 GB, free: 1.973 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1374, allocations: 7.984 kB / 1.022 GB, free: 1.965 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1374, allocations: 7.938 kB / 1.022 GB, free: 1.957 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1374, allocations: 288 / 1.022 GB, free: 1.957 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.2e-05/0.1375, allocations: 84.03 kB / 1.022 GB, free: 1.848 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.1375, allocations: 7.984 kB / 1.022 GB, free: 1.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1375, allocations: 3.984 kB / 1.022 GB, free: 1.836 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.846e-05/0.1376, allocations: 4 kB / 1.022 GB, free: 1.832 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.1376, allocations: 7.969 kB / 1.022 GB, free: 1.824 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.1376, allocations: 0 / 1.022 GB, free: 1.824 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.421e-05/0.1376, allocations: 123.2 kB / 1.022 GB, free: 1.703 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1376, allocations: 0 / 1.022 GB, free: 1.703 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001333/0.1377, allocations: 8 kB / 1.022 GB, free: 1.695 MB / 0.9792 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 0.0001333/0.1379, allocations: 107.2 kB / 1.023 GB, free: 1.582 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 8.563e-05/0.138, allocations: 15.69 kB / 1.023 GB, free: 1.562 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.138, allocations: 192 / 1.023 GB, free: 1.562 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 9.799e-06/0.138, allocations: 19.62 kB / 1.023 GB, free: 1.539 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.1382, allocations: 20.61 kB / 1.023 GB, free: 1.52 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.1386, allocations: 137.9 kB / 1.023 GB, free: 1.352 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.1386, allocations: 55.36 kB / 1.023 GB, free: 1.277 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 4.101e-05/0.1387, allocations: 12.06 kB / 1.023 GB, free: 1.266 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.1387, allocations: 8.5 kB / 1.023 GB, free: 1.258 MB / 0.9792 GB Notification: Performance of SimCode: time 7.11e-07/0.1387, allocations: 3.938 kB / 1.023 GB, free: 1.254 MB / 0.9792 GB Notification: Performance of Templates: time 0.002587/0.1413, allocations: 0.7629 MB / 1.024 GB, free: 0.5039 MB / 0.9792 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.564570941962302]