Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.00142/0.00142, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001553/0.001553, allocations: 161.4 kB / 23.82 MB, free: 0.7578 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 1.08/1.08, allocations: 177.1 MB / 204.2 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.902/1.902, allocations: 377.8 MB / 0.6236 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.092e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.12/0.12, allocations: 131.1 MB / 0.9396 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001464/0.1201, allocations: 51.8 kB / 0.9396 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.1202, allocations: 0 / 0.9396 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.1203, allocations: 3.938 kB / 0.9396 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.581e-05/0.1204, allocations: 15.7 kB / 0.9396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007969/0.1212, allocations: 258.8 kB / 0.9399 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.1213, allocations: 35.84 kB / 0.9399 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.1213, allocations: 3.984 kB / 0.9399 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.869e-05/0.1213, allocations: 23.92 kB / 0.94 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.1214, allocations: 15.91 kB / 0.94 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.1214, allocations: 4 kB / 0.94 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.1217, allocations: 179.4 kB / 0.9401 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.1218, allocations: 11.98 kB / 0.9402 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.1218, allocations: 11.98 kB / 0.9402 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.122, allocations: 175.5 kB / 0.9403 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.122, allocations: 0 / 0.9403 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1221, allocations: 0 / 0.9403 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1221, allocations: 0 / 0.9403 GB, free: 13.41 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003776/0.1224, allocations: 388 kB / 0.9407 GB, free: 13 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1225, allocations: 8.031 kB / 0.9407 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.1225, allocations: 9.281 kB / 0.9407 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.1226, allocations: 108.6 kB / 0.9408 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/0.1227, allocations: 51.97 kB / 0.9409 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1227, allocations: 8.375 kB / 0.9409 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1228, allocations: 84.34 kB / 0.941 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1228, allocations: 0 / 0.941 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1228, allocations: 3.938 kB / 0.941 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.1229, allocations: 0 / 0.941 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.1229, allocations: 11.98 kB / 0.941 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.1234, allocations: 303.7 kB / 0.9413 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.999e-05/0.1234, allocations: 34.94 kB / 0.9413 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.1234, allocations: 7.688 kB / 0.9413 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.1235, allocations: 32.05 kB / 0.9413 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.1235, allocations: 41.39 kB / 0.9414 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.1235, allocations: 0 / 0.9414 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.1236, allocations: 33.69 kB / 0.9414 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.1236, allocations: 55.41 kB / 0.9415 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.103e-05/0.1237, allocations: 165.9 kB / 0.9416 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.1237, allocations: 25.7 kB / 0.9416 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.1238, allocations: 134.8 kB / 0.9418 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-06/0.1238, allocations: 7.938 kB / 0.9418 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.1238, allocations: 23.5 kB / 0.9418 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1239, allocations: 0.4884 MB / 0.9423 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.1239, allocations: 4 kB / 0.9423 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.1239, allocations: 19.38 kB / 0.9423 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.596e-05/0.124, allocations: 23.38 kB / 0.9423 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.124, allocations: 3.938 kB / 0.9423 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.613e-05/0.124, allocations: 49.62 kB / 0.9424 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.124, allocations: 8 kB / 0.9424 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.124, allocations: 0 / 0.9424 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1241, allocations: 4.062 kB / 0.9424 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.786e-05/0.1241, allocations: 4 kB / 0.9424 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1241, allocations: 3.984 kB / 0.9424 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.333e-05/0.1241, allocations: 7.938 kB / 0.9424 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1241, allocations: 4 kB / 0.9424 GB, free: 11.05 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.917e-05/0.1242, allocations: 164.5 kB / 0.9426 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.1242, allocations: 3.953 kB / 0.9426 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.1243, allocations: 171.7 kB / 0.9427 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.483e-05/0.1244, allocations: 264.1 kB / 0.943 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.697e-05/0.1244, allocations: 280 kB / 0.9433 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.325e-05/0.1245, allocations: 268.4 kB / 0.9435 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.1246, allocations: 0.492 MB / 0.944 GB, free: 9.336 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/0.1247, allocations: 148.8 kB / 0.9441 GB, free: 9.184 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.1247, allocations: 144.9 kB / 0.9443 GB, free: 9.035 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.754e-05/0.1247, allocations: 276 kB / 0.9445 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.792e-05/0.1248, allocations: 268.1 kB / 0.9448 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-05/0.1249, allocations: 272 kB / 0.945 GB, free: 8.215 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001299/0.125, allocations: 268.1 kB / 0.9453 GB, free: 7.945 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.1251, allocations: 444 kB / 0.9457 GB, free: 7.484 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.1251, allocations: 152.8 kB / 0.9459 GB, free: 7.328 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.1252, allocations: 276 kB / 0.9461 GB, free: 7.051 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/0.1253, allocations: 148.9 kB / 0.9463 GB, free: 6.898 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.1254, allocations: 268 kB / 0.9465 GB, free: 6.629 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.1254, allocations: 148.9 kB / 0.9467 GB, free: 6.477 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.1254, allocations: 131.2 kB / 0.9468 GB, free: 6.348 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1254, allocations: 0 / 0.9468 GB, free: 6.348 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001949/0.1256, allocations: 55.73 kB / 0.9469 GB, free: 6.293 MB / 0.9011 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 (0): * Single equations (assignments): 0 * 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.0002475/0.1259, allocations: 294.2 kB / 0.9471 GB, free: 5.996 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.686e-05/0.1259, allocations: 19.61 kB / 0.9472 GB, free: 5.973 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.1259, allocations: 0 / 0.9472 GB, free: 5.973 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.1259, allocations: 0 / 0.9472 GB, free: 5.973 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.1263, allocations: 0.718 MB / 0.9479 GB, free: 5.25 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.1267, allocations: 237.4 kB / 0.9481 GB, free: 4.992 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.006e-05/0.1267, allocations: 55.34 kB / 0.9481 GB, free: 4.918 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.561e-05/0.1267, allocations: 8 kB / 0.9481 GB, free: 4.91 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.1267, allocations: 12.5 kB / 0.9482 GB, free: 4.898 MB / 0.9011 GB Notification: Performance of SimCode: time 4.41e-07/0.1267, allocations: 0 / 0.9482 GB, free: 4.898 MB / 0.9011 GB Notification: Performance of Templates: time 0.002772/0.1295, allocations: 1.249 MB / 0.9494 GB, free: 3.656 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.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.489191341213882]