Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001496/0.001496, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001195/0.001195, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.945/0.945, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.099/2.099, allocations: 429.5 MB / 0.6736 GB, free: 4.023 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8781 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.186e-05, allocations: 4.094 kB / 0.8781 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005475/0.005497, allocations: 4.167 MB / 0.8822 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001998/0.005697, allocations: 160.8 kB / 0.8824 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.005728, allocations: 0 / 0.8824 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.005846, allocations: 4 kB / 0.8824 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.546e-05/0.005941, allocations: 19.84 kB / 0.8824 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.006306, allocations: 87.67 kB / 0.8825 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.006398, allocations: 31.84 kB / 0.8825 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.006439, allocations: 4 kB / 0.8825 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.816e-05/0.006507, allocations: 19.92 kB / 0.8825 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.1e-05/0.006588, allocations: 15.97 kB / 0.8825 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.006602, allocations: 0 / 0.8825 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.006805, allocations: 59.77 kB / 0.8826 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.006859, allocations: 11.97 kB / 0.8826 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.006884, allocations: 4 kB / 0.8826 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.007044, allocations: 63.86 kB / 0.8827 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.007047, allocations: 3.938 kB / 0.8827 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.81e-07/0.007048, allocations: 0 / 0.8827 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.007052, allocations: 0 / 0.8827 GB, free: 2.012 MB / 0.8386 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.0004129/0.007465, allocations: 368.6 kB / 0.883 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.007509, allocations: 8.031 kB / 0.883 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.007563, allocations: 4.938 kB / 0.883 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.007675, allocations: 108.6 kB / 0.8832 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-05/0.007762, allocations: 63.89 kB / 0.8832 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.007776, allocations: 384 / 0.8832 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.007934, allocations: 84.64 kB / 0.8833 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.007945, allocations: 192 / 0.8833 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.007964, allocations: 3.938 kB / 0.8833 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/0.008002, allocations: 0 / 0.8833 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.008047, allocations: 8 kB / 0.8833 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.00859, allocations: 255.8 kB / 0.8835 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.194e-05/0.008652, allocations: 35.03 kB / 0.8836 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.008678, allocations: 15.62 kB / 0.8836 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.058e-05/0.008758, allocations: 4.062 kB / 0.8836 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.008801, allocations: 41.39 kB / 0.8836 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.008803, allocations: 0 / 0.8836 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002081/0.009011, allocations: 33.69 kB / 0.8837 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.009057, allocations: 59.34 kB / 0.8837 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.00917, allocations: 157.9 kB / 0.8839 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.009188, allocations: 25.7 kB / 0.8839 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.009264, allocations: 142.7 kB / 0.884 GB, free: 436 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.45e-06/0.00927, allocations: 8.125 kB / 0.884 GB, free: 428 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.00931, allocations: 23.38 kB / 0.8841 GB, free: 396 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.009521, allocations: 492.1 kB / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.00954, allocations: 4 kB / 0.8845 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.009574, allocations: 19.36 kB / 0.8846 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.457e-05/0.009618, allocations: 27.38 kB / 0.8846 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.009622, allocations: 4 kB / 0.8846 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.948e-05/0.009722, allocations: 57.52 kB / 0.8846 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.009738, allocations: 8.062 kB / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.009745, allocations: 7.938 kB / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.009767, allocations: 0 / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.009827, allocations: 4 kB / 0.8847 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.009834, allocations: 0 / 0.8847 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.009855, allocations: 4 kB / 0.8847 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.009866, allocations: 0 / 0.8847 GB, free: 15.74 MB / 0.8542 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 9.267e-05/0.009959, allocations: 156.5 kB / 0.8848 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.009987, allocations: 11.92 kB / 0.8848 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.01013, allocations: 167.8 kB / 0.885 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-05/0.01022, allocations: 268.1 kB / 0.8852 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.812e-05/0.01031, allocations: 272 kB / 0.8855 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.593e-05/0.01041, allocations: 268.1 kB / 0.8858 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.01067, allocations: 499.8 kB / 0.8862 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.654e-05/0.01072, allocations: 144.9 kB / 0.8864 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.01077, allocations: 148.9 kB / 0.8865 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.049e-05/0.01086, allocations: 276 kB / 0.8868 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-05/0.01096, allocations: 268.1 kB / 0.887 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.231e-05/0.01105, allocations: 268 kB / 0.8873 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.221e-05/0.01115, allocations: 268.1 kB / 0.8875 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.01135, allocations: 451.9 kB / 0.888 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.01141, allocations: 156.8 kB / 0.8881 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.01152, allocations: 272 kB / 0.8884 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.01168, allocations: 152.9 kB / 0.8885 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.01178, allocations: 268.3 kB / 0.8888 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/0.01184, allocations: 144.9 kB / 0.8889 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.789e-05/0.01191, allocations: 135.2 kB / 0.8891 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01191, allocations: 0 / 0.8891 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003353/0.01224, allocations: 15.94 kB / 0.8891 GB, free: 11.03 MB / 0.8542 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.0002519/0.01249, allocations: 230.4 kB / 0.8893 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.0126, allocations: 23.62 kB / 0.8893 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.0126, allocations: 0 / 0.8893 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.01261, allocations: 0 / 0.8893 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.01318, allocations: 0.7181 MB / 0.89 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.01382, allocations: 241.4 kB / 0.8902 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.804e-05/0.01387, allocations: 51.36 kB / 0.8903 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.026e-05/0.01392, allocations: 20.03 kB / 0.8903 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.01394, allocations: 12.5 kB / 0.8903 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of SimCode: time 8.12e-07/0.01394, allocations: 0 / 0.8903 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.003228/0.01717, allocations: 0.671 MB / 0.891 GB, free: 9.02 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.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.2765293850097805]