Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001493/0.001493, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001835/0.001835, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.002/1.002, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.137/2.137, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8794 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.167e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1403/0.1403, allocations: 128.7 MB / 1.005 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001519/0.1405, allocations: 43.83 kB / 1.005 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.1405, allocations: 3.938 kB / 1.005 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.1406, allocations: 11.92 kB / 1.005 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.293e-05/0.1407, allocations: 7.984 kB / 1.005 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000785/0.1415, allocations: 262.8 kB / 1.005 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.279e-05/0.1416, allocations: 35.84 kB / 1.005 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.1416, allocations: 4 kB / 1.005 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.1417, allocations: 23.92 kB / 1.005 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.1417, allocations: 15.97 kB / 1.005 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.1417, allocations: 0 / 1.005 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.1421, allocations: 183.4 kB / 1.006 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.337e-05/0.1421, allocations: 3.984 kB / 1.006 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.1421, allocations: 19.92 kB / 1.006 GB, free: 4.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.1424, allocations: 175.5 kB / 1.006 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1424, allocations: 0 / 1.006 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1424, allocations: 3.938 kB / 1.006 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1424, allocations: 0 / 1.006 GB, free: 4.164 MB / 0.9636 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.00637/0.1488, allocations: 388.3 kB / 1.006 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1488, allocations: 12.03 kB / 1.006 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.1489, allocations: 0.9375 kB / 1.006 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.855e-05/0.149, allocations: 112.6 kB / 1.006 GB, free: 3.602 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/0.149, allocations: 51.97 kB / 1.006 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.149, allocations: 384 / 1.006 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.1491, allocations: 84.34 kB / 1.006 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1491, allocations: 0 / 1.006 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.1491, allocations: 0 / 1.006 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.1492, allocations: 8 kB / 1.006 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.079e-05/0.1492, allocations: 11.98 kB / 1.006 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.1496, allocations: 284.3 kB / 1.007 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.811e-05/0.1496, allocations: 27 kB / 1.007 GB, free: 3.078 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.1496, allocations: 19.69 kB / 1.007 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.648e-05/0.1497, allocations: 27.98 kB / 1.007 GB, free: 3.027 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1497, allocations: 33.39 kB / 1.007 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1497, allocations: 0 / 1.007 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001094/0.1498, allocations: 41.77 kB / 1.007 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002558/0.1501, allocations: 55.41 kB / 1.007 GB, free: 2.871 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.744e-05/0.1502, allocations: 161.9 kB / 1.007 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.1502, allocations: 33.7 kB / 1.007 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.1502, allocations: 130.8 kB / 1.007 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-06/0.1502, allocations: 3.938 kB / 1.007 GB, free: 2.52 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.1503, allocations: 19.38 kB / 1.007 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1504, allocations: 0.4883 MB / 1.008 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-06/0.1504, allocations: 7.984 kB / 1.008 GB, free: 1.984 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-05/0.1504, allocations: 19.38 kB / 1.008 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.019e-05/0.1504, allocations: 27.38 kB / 1.008 GB, free: 1.922 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1504, allocations: 0 / 1.008 GB, free: 1.922 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.546e-05/0.1505, allocations: 53.52 kB / 1.008 GB, free: 1.863 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1505, allocations: 8 kB / 1.008 GB, free: 1.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1505, allocations: 0 / 1.008 GB, free: 1.855 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/0.1505, allocations: 0 / 1.008 GB, free: 1.855 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.734e-05/0.1506, allocations: 4 kB / 1.008 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.1506, allocations: 0 / 1.008 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.1506, allocations: 7.938 kB / 1.008 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1506, allocations: 3.984 kB / 1.008 GB, free: 1.84 MB / 0.9636 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 6.863e-05/0.1507, allocations: 164.6 kB / 1.008 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.1507, allocations: 7.875 kB / 1.008 GB, free: 1.66 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.1508, allocations: 159.7 kB / 1.008 GB, free: 1.492 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-05/0.1509, allocations: 268.1 kB / 1.008 GB, free: 1.223 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.409e-05/0.1509, allocations: 272 kB / 1.009 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.475e-05/0.151, allocations: 272.1 kB / 1.009 GB, free: 0.6758 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.1512, allocations: 484.5 kB / 1.009 GB, free: 172 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.796e-05/0.1512, allocations: 144.9 kB / 1.01 GB, free: 20 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.1513, allocations: 149 kB / 1.01 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-05/0.1513, allocations: 280 kB / 1.01 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.096e-05/0.1514, allocations: 268 kB / 1.01 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006085/0.1575, allocations: 268 kB / 1.01 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.689e-05/0.1576, allocations: 268.1 kB / 1.011 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.1577, allocations: 448 kB / 1.011 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.1578, allocations: 152.8 kB / 1.011 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-05/0.1578, allocations: 272 kB / 1.012 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.158, allocations: 152.9 kB / 1.012 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.158, allocations: 264.1 kB / 1.012 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.1581, allocations: 152.8 kB / 1.012 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.607e-05/0.1581, allocations: 131.2 kB / 1.012 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1581, allocations: 0 / 1.012 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003051/0.1584, allocations: 55.75 kB / 1.012 GB, free: 13.12 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 (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.0003012/0.1587, allocations: 302.1 kB / 1.013 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 6.996e-05/0.1588, allocations: 19.91 kB / 1.013 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1588, allocations: 4 kB / 1.013 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1588, allocations: 0 / 1.013 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.1592, allocations: 0.7113 MB / 1.013 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.1596, allocations: 233.2 kB / 1.013 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.1596, allocations: 55.36 kB / 1.014 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 3.616e-05/0.1597, allocations: 20.23 kB / 1.014 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.769e-05/0.1598, allocations: 82.17 kB / 1.014 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of SimCode: time 8.71e-07/0.1598, allocations: 0 / 1.014 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of Templates: time 0.01616/0.1759, allocations: 1.439 MB / 1.015 GB, free: 10.22 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.831387405283749]