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.0009811/0.0009811, allocations: 92.22 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.0009946/0.0009946, allocations: 165 kB / 23.02 MB, free: 1.551 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.9647/0.9647, allocations: 177.1 MB / 203.4 MB, free: 5.25 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.141/2.141, allocations: 429.5 MB / 0.6732 GB, free: 4.02 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.693e-06/1.693e-06, allocations: 0 / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.155e-05, allocations: 4.984 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1209/0.121, allocations: 131.1 MB / 1.006 GB, free: 2.727 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000155/0.1211, allocations: 47.8 kB / 1.006 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.1212, allocations: 3.938 kB / 1.006 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.1213, allocations: 0 / 1.006 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.144e-05/0.1214, allocations: 23.91 kB / 1.006 GB, free: 2.652 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008455/0.1222, allocations: 254.8 kB / 1.007 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.748e-05/0.1223, allocations: 35.8 kB / 1.007 GB, free: 2.367 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.1223, allocations: 3.984 kB / 1.007 GB, free: 2.363 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.574e-05/0.1224, allocations: 27.97 kB / 1.007 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.1225, allocations: 7.938 kB / 1.007 GB, free: 2.328 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1225, allocations: 4 kB / 1.007 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.1228, allocations: 183.4 kB / 1.007 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.1229, allocations: 11.98 kB / 1.007 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.1229, allocations: 4 kB / 1.007 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.1232, allocations: 175.5 kB / 1.007 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1232, allocations: 0 / 1.007 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1232, allocations: 0 / 1.007 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.1232, allocations: 0 / 1.007 GB, free: 1.957 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.0005074/0.1237, allocations: 396.3 kB / 1.007 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1238, allocations: 11.97 kB / 1.007 GB, free: 1.523 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.1238, allocations: 8.938 kB / 1.007 GB, free: 1.516 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.577e-05/0.1239, allocations: 104.6 kB / 1.007 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/0.124, allocations: 55.91 kB / 1.008 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.124, allocations: 4.375 kB / 1.008 GB, free: 1.316 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.1241, allocations: 84.39 kB / 1.008 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1241, allocations: 3.984 kB / 1.008 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1241, allocations: 0 / 1.008 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.1242, allocations: 0 / 1.008 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.913e-05/0.1242, allocations: 12 kB / 1.008 GB, free: 1.203 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.1247, allocations: 303.7 kB / 1.008 GB, free: 0.8711 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.97e-05/0.1248, allocations: 34.94 kB / 1.008 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.1248, allocations: 7.688 kB / 1.008 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.286e-05/0.1248, allocations: 32.03 kB / 1.008 GB, free: 0.7812 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1249, allocations: 41.39 kB / 1.008 GB, free: 0.7305 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1249, allocations: 0 / 1.008 GB, free: 0.7305 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.125, allocations: 33.66 kB / 1.008 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.125, allocations: 63.47 kB / 1.008 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.082e-05/0.1251, allocations: 165.9 kB / 1.008 GB, free: 448 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1251, allocations: 25.7 kB / 1.008 GB, free: 416 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.1252, allocations: 134.8 kB / 1.008 GB, free: 276 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-06/0.1252, allocations: 0 / 1.008 GB, free: 276 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.1252, allocations: 27.36 kB / 1.008 GB, free: 240 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1253, allocations: 492.1 kB / 1.009 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.1253, allocations: 4 kB / 1.009 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/0.1254, allocations: 15.38 kB / 1.009 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.556e-05/0.1254, allocations: 35.36 kB / 1.009 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1254, allocations: 3.938 kB / 1.009 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.724e-05/0.1255, allocations: 49.59 kB / 1.009 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1255, allocations: 4 kB / 1.009 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1255, allocations: 4 kB / 1.009 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1255, allocations: 3.984 kB / 1.009 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.356e-05/0.1256, allocations: 4 kB / 1.009 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1256, allocations: 3.938 kB / 1.009 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.1256, allocations: 7.938 kB / 1.009 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1256, allocations: 3.938 kB / 1.009 GB, free: 15.58 MB / 0.9792 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 7.269e-05/0.1257, allocations: 160.6 kB / 1.009 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.1257, allocations: 4 kB / 1.009 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.1258, allocations: 171.7 kB / 1.009 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.905e-05/0.1259, allocations: 268 kB / 1.01 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.468e-05/0.1259, allocations: 264.1 kB / 1.01 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.288e-05/0.126, allocations: 268.1 kB / 1.01 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.1262, allocations: 0.492 MB / 1.011 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.213e-05/0.1263, allocations: 148.8 kB / 1.011 GB, free: 13.74 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.1263, allocations: 149 kB / 1.011 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.96e-05/0.1264, allocations: 284.1 kB / 1.011 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.766e-05/0.1264, allocations: 264.1 kB / 1.011 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.309e-05/0.1265, allocations: 268 kB / 1.012 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.918e-05/0.1266, allocations: 268.1 kB / 1.012 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.1267, allocations: 444 kB / 1.012 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.1268, allocations: 160.8 kB / 1.013 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.958e-05/0.1268, allocations: 268 kB / 1.013 GB, free: 11.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.127, allocations: 148.9 kB / 1.013 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.127, allocations: 272 kB / 1.013 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/0.1271, allocations: 144.9 kB / 1.013 GB, free: 11.03 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.1271, allocations: 131.2 kB / 1.013 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.1271, allocations: 4 kB / 1.013 GB, free: 10.89 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003118/0.1274, allocations: 55.73 kB / 1.013 GB, free: 10.84 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.0002906/0.1277, allocations: 294.2 kB / 1.014 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 7.24e-05/0.1278, allocations: 23.69 kB / 1.014 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.1278, allocations: 0 / 1.014 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.1278, allocations: 0 / 1.014 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.1283, allocations: 0.7216 MB / 1.014 GB, free: 9.789 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.1288, allocations: 233.2 kB / 1.015 GB, free: 9.535 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.678e-05/0.1288, allocations: 51.36 kB / 1.015 GB, free: 9.465 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 3.35e-05/0.1288, allocations: 12.25 kB / 1.015 GB, free: 9.453 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.1288, allocations: 8.5 kB / 1.015 GB, free: 9.445 MB / 0.9792 GB Notification: Performance of SimCode: time 5.81e-07/0.1288, allocations: 4 kB / 1.015 GB, free: 9.441 MB / 0.9792 GB Notification: Performance of Templates: time 0.003349/0.1322, allocations: 1.241 MB / 1.016 GB, free: 8.211 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.733164736069739]