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.0009729/0.0009729, allocations: 93.06 kB / 19.65 MB, free: 276 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.00103/0.00103, allocations: 169 kB / 23.03 MB, free: 1.543 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.9877/0.9877, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.004/2.004, allocations: 429.5 MB / 0.6733 GB, free: 4.047 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.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.643e-06/1.643e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.861e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.129/0.1291, allocations: 143.7 MB / 1.019 GB, free: 6.105 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0001361/0.1292, allocations: 51.73 kB / 1.019 GB, free: 6.055 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.1292, allocations: 3.938 kB / 1.019 GB, free: 6.051 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.1294, allocations: 7.938 kB / 1.019 GB, free: 6.043 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 8.32e-05/0.1295, allocations: 11.97 kB / 1.019 GB, free: 6.031 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.1299, allocations: 119.5 kB / 1.019 GB, free: 5.914 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 8.194e-05/0.13, allocations: 35.84 kB / 1.019 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.13, allocations: 8 kB / 1.019 GB, free: 5.871 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 5.324e-05/0.1301, allocations: 15.98 kB / 1.019 GB, free: 5.855 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.1301, allocations: 15.91 kB / 1.019 GB, free: 5.84 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1302, allocations: 4 kB / 1.019 GB, free: 5.836 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.1304, allocations: 79.73 kB / 1.019 GB, free: 5.758 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.1304, allocations: 7.984 kB / 1.019 GB, free: 5.75 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.1304, allocations: 11.98 kB / 1.019 GB, free: 5.738 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.1306, allocations: 71.73 kB / 1.019 GB, free: 5.668 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1306, allocations: 0 / 1.019 GB, free: 5.668 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1306, allocations: 0 / 1.019 GB, free: 5.668 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1306, allocations: 0 / 1.019 GB, free: 5.668 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.0003425/0.1309, allocations: 368.5 kB / 1.019 GB, free: 5.273 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.131, allocations: 12.03 kB / 1.019 GB, free: 5.262 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.1312, allocations: 24.86 kB / 1.019 GB, free: 5.238 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.766e-05/0.1313, allocations: 112.6 kB / 1.019 GB, free: 5.102 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.1313, allocations: 51.97 kB / 1.019 GB, free: 5.039 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1313, allocations: 8.125 kB / 1.019 GB, free: 5.031 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1315, allocations: 84.02 kB / 1.02 GB, free: 4.934 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.1315, allocations: 0 / 1.02 GB, free: 4.934 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1315, allocations: 0 / 1.02 GB, free: 4.934 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.1315, allocations: 0 / 1.02 GB, free: 4.934 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.171e-05/0.1315, allocations: 15.98 kB / 1.02 GB, free: 4.918 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.1318, allocations: 267.7 kB / 1.02 GB, free: 4.621 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 3.442e-05/0.1318, allocations: 23.06 kB / 1.02 GB, free: 4.586 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.1319, allocations: 15.66 kB / 1.02 GB, free: 4.566 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.012e-06/0.1319, allocations: 4.062 kB / 1.02 GB, free: 4.562 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.1319, allocations: 37.38 kB / 1.02 GB, free: 4.516 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.1319, allocations: 0 / 1.02 GB, free: 4.516 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.0001081/0.132, allocations: 29.7 kB / 1.02 GB, free: 4.48 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.132, allocations: 59.41 kB / 1.02 GB, free: 4.41 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.832e-05/0.1321, allocations: 162 kB / 1.02 GB, free: 4.234 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.1321, allocations: 33.7 kB / 1.02 GB, free: 4.195 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.1322, allocations: 134.8 kB / 1.02 GB, free: 4.059 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-06/0.1322, allocations: 3.938 kB / 1.02 GB, free: 4.055 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.1322, allocations: 23.38 kB / 1.02 GB, free: 4.023 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1323, allocations: 0.4922 MB / 1.021 GB, free: 3.52 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/0.1323, allocations: 3.938 kB / 1.021 GB, free: 3.516 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.1323, allocations: 35 kB / 1.021 GB, free: 3.469 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.1324, allocations: 35.06 kB / 1.021 GB, free: 3.422 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1324, allocations: 4.25 kB / 1.021 GB, free: 3.418 MB / 0.9792 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.033e-05/0.1324, allocations: 61.52 kB / 1.021 GB, free: 3.352 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1324, allocations: 4 kB / 1.021 GB, free: 3.348 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1324, allocations: 4 kB / 1.021 GB, free: 3.344 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1325, allocations: 4 kB / 1.021 GB, free: 3.34 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.714e-05/0.1325, allocations: 7.984 kB / 1.021 GB, free: 3.332 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1325, allocations: 0 / 1.021 GB, free: 3.332 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.1325, allocations: 4 kB / 1.021 GB, free: 3.328 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.1325, allocations: 0 / 1.021 GB, free: 3.328 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 5.777e-05/0.1326, allocations: 164.6 kB / 1.021 GB, free: 3.156 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.1326, allocations: 0 / 1.021 GB, free: 3.156 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.1326, allocations: 7.156 kB / 1.021 GB, free: 3.145 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1326, allocations: 4 kB / 1.021 GB, free: 3.141 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1326, allocations: 0 / 1.021 GB, free: 3.141 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.1326, allocations: 0 / 1.021 GB, free: 3.141 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.1328, allocations: 400.3 kB / 1.022 GB, free: 2.703 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1328, allocations: 0 / 1.022 GB, free: 2.703 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-06/0.1328, allocations: 0 / 1.022 GB, free: 2.703 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1328, allocations: 7.984 kB / 1.022 GB, free: 2.695 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.1328, allocations: 4.031 kB / 1.022 GB, free: 2.691 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.1328, allocations: 0 / 1.022 GB, free: 2.691 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1328, allocations: 0 / 1.022 GB, free: 2.691 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.384e-05/0.1329, allocations: 72.34 kB / 1.022 GB, free: 2.598 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-06/0.1329, allocations: 4 kB / 1.022 GB, free: 2.594 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.1329, allocations: 0 / 1.022 GB, free: 2.594 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-05/0.1329, allocations: 15.92 kB / 1.022 GB, free: 2.578 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.1329, allocations: 0 / 1.022 GB, free: 2.578 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-06/0.1329, allocations: 3.938 kB / 1.022 GB, free: 2.574 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.26e-05/0.133, allocations: 123.2 kB / 1.022 GB, free: 2.453 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.133, allocations: 32 / 1.022 GB, free: 2.453 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001203/0.1331, allocations: 12 kB / 1.022 GB, free: 2.441 MB / 0.9792 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 7.473e-05/0.1332, allocations: 99.23 kB / 1.022 GB, free: 2.336 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 6.984e-05/0.1332, allocations: 19.69 kB / 1.022 GB, free: 2.312 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1332, allocations: 0 / 1.022 GB, free: 2.312 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 7.895e-06/0.1332, allocations: 19.56 kB / 1.022 GB, free: 2.289 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.1334, allocations: 12.17 kB / 1.022 GB, free: 2.277 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.1338, allocations: 122.6 kB / 1.022 GB, free: 2.129 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.213e-05/0.1338, allocations: 55.3 kB / 1.022 GB, free: 2.055 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.1339, allocations: 7.984 kB / 1.022 GB, free: 2.047 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.1339, allocations: 8.5 kB / 1.022 GB, free: 2.039 MB / 0.9792 GB Notification: Performance of SimCode: time 6.71e-07/0.1339, allocations: 0 / 1.022 GB, free: 2.039 MB / 0.9792 GB Notification: Performance of Templates: time 0.002063/0.1359, allocations: 0.6068 MB / 1.023 GB, free: 1.477 MB / 0.9792 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.367405567783862]