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.001018/0.001018, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001132/0.001132, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.9866/0.9866, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.381/2.381, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.8385 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.14e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1235/0.1235, allocations: 130.6 MB / 0.9661 GB, free: 11.15 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001301/0.1236, allocations: 47.75 kB / 0.9661 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.1236, allocations: 0 / 0.9661 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.1237, allocations: 8 kB / 0.9662 GB, free: 11.1 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.581e-05/0.1238, allocations: 15.84 kB / 0.9662 GB, free: 11.08 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007627/0.1246, allocations: 262.8 kB / 0.9664 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.571e-05/0.1247, allocations: 35.84 kB / 0.9665 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.35e-05/0.1247, allocations: 0 / 0.9665 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.984e-05/0.1247, allocations: 23.97 kB / 0.9665 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.409e-05/0.1248, allocations: 11.92 kB / 0.9665 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.1248, allocations: 0 / 0.9665 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.1251, allocations: 187.4 kB / 0.9667 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/0.1252, allocations: 8 kB / 0.9667 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.1252, allocations: 11.97 kB / 0.9667 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.1255, allocations: 175.5 kB / 0.9669 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.1255, allocations: 0 / 0.9669 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.11e-07/0.1255, allocations: 0 / 0.9669 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.025e-06/0.1255, allocations: 0 / 0.9669 GB, free: 10.38 MB / 0.9323 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.0002821/0.1257, allocations: 260.3 kB / 0.9671 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1258, allocations: 16.56 kB / 0.9671 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.1258, allocations: 0.9375 kB / 0.9671 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.28e-05/0.1259, allocations: 113.8 kB / 0.9672 GB, free: 9.949 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/0.1259, allocations: 51.97 kB / 0.9673 GB, free: 9.887 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1259, allocations: 4.375 kB / 0.9673 GB, free: 9.883 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.1261, allocations: 91.2 kB / 0.9674 GB, free: 9.777 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-06/0.1261, allocations: 0 / 0.9674 GB, free: 9.777 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.1261, allocations: 0 / 0.9674 GB, free: 9.777 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.1261, allocations: 0 / 0.9674 GB, free: 9.777 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.942e-05/0.1261, allocations: 8 kB / 0.9674 GB, free: 9.77 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.1265, allocations: 209.7 kB / 0.9676 GB, free: 9.547 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 2.854e-05/0.1265, allocations: 22.58 kB / 0.9676 GB, free: 9.516 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.558e-06/0.1265, allocations: 4.859 kB / 0.9676 GB, free: 9.508 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.791e-05/0.1266, allocations: 36 kB / 0.9676 GB, free: 9.473 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1266, allocations: 38.56 kB / 0.9677 GB, free: 9.426 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.934e-06/0.1266, allocations: 3.984 kB / 0.9677 GB, free: 9.422 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 9.203e-05/0.1267, allocations: 33.64 kB / 0.9677 GB, free: 9.383 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.1267, allocations: 51.41 kB / 0.9678 GB, free: 9.32 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.824e-05/0.1268, allocations: 110.7 kB / 0.9679 GB, free: 9.199 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.1268, allocations: 25.7 kB / 0.9679 GB, free: 9.168 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.1268, allocations: 88.2 kB / 0.968 GB, free: 9.078 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-06/0.1268, allocations: 4 kB / 0.968 GB, free: 9.074 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.1268, allocations: 21.7 kB / 0.968 GB, free: 9.047 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/0.1269, allocations: 314.8 kB / 0.9683 GB, free: 8.73 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-06/0.1269, allocations: 0 / 0.9683 GB, free: 8.73 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.653e-05/0.1269, allocations: 13.72 kB / 0.9683 GB, free: 8.711 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.127, allocations: 24.5 kB / 0.9683 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.127, allocations: 0 / 0.9683 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.307e-05/0.127, allocations: 45.62 kB / 0.9684 GB, free: 8.629 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.127, allocations: 8.062 kB / 0.9684 GB, free: 8.621 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.127, allocations: 3.938 kB / 0.9684 GB, free: 8.617 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.127, allocations: 4 kB / 0.9684 GB, free: 8.613 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.112e-05/0.1271, allocations: 4 kB / 0.9684 GB, free: 8.609 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.1271, allocations: 0 / 0.9684 GB, free: 8.609 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.1271, allocations: 3.938 kB / 0.9684 GB, free: 8.605 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.1271, allocations: 4 kB / 0.9684 GB, free: 8.602 MB / 0.9323 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 4.982e-05/0.1272, allocations: 112.7 kB / 0.9685 GB, free: 8.48 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.1272, allocations: 15.92 kB / 0.9685 GB, free: 8.465 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.044e-05/0.1273, allocations: 121 kB / 0.9686 GB, free: 8.34 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.706e-05/0.1273, allocations: 184.2 kB / 0.9688 GB, free: 8.152 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.236e-05/0.1273, allocations: 180.2 kB / 0.969 GB, free: 7.969 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.415e-05/0.1274, allocations: 180.2 kB / 0.9692 GB, free: 7.785 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.1275, allocations: 321.4 kB / 0.9695 GB, free: 7.445 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/0.1276, allocations: 105 kB / 0.9696 GB, free: 7.336 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.1276, allocations: 112.8 kB / 0.9697 GB, free: 7.219 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.929e-05/0.1276, allocations: 176.3 kB / 0.9698 GB, free: 7.039 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/0.1277, allocations: 192.1 kB / 0.97 GB, free: 6.844 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-05/0.1277, allocations: 180.2 kB / 0.9702 GB, free: 6.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.993e-05/0.1278, allocations: 180.2 kB / 0.9704 GB, free: 6.477 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.1279, allocations: 311.8 kB / 0.9707 GB, free: 6.148 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.1279, allocations: 108.9 kB / 0.9708 GB, free: 6.035 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.128, allocations: 184.2 kB / 0.9709 GB, free: 5.848 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/0.1281, allocations: 112.9 kB / 0.9711 GB, free: 5.73 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.1281, allocations: 176.3 kB / 0.9712 GB, free: 5.551 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.1281, allocations: 101 kB / 0.9713 GB, free: 5.445 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 1.606e-05/0.1281, allocations: 8.859 kB / 0.9713 GB, free: 5.434 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1281, allocations: 0 / 0.9713 GB, free: 5.434 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002616/0.1284, allocations: 63.73 kB / 0.9714 GB, free: 5.371 MB / 0.9323 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.0002395/0.1286, allocations: 231.3 kB / 0.9716 GB, free: 5.137 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 4.699e-05/0.1287, allocations: 16.86 kB / 0.9716 GB, free: 5.117 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1287, allocations: 0 / 0.9716 GB, free: 5.117 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.1287, allocations: 0 / 0.9716 GB, free: 5.117 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.129, allocations: 471.8 kB / 0.9721 GB, free: 4.652 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.1293, allocations: 190.9 kB / 0.9723 GB, free: 4.441 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.241e-05/0.1293, allocations: 55.34 kB / 0.9723 GB, free: 4.367 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.1293, allocations: 8.188 kB / 0.9723 GB, free: 4.359 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.1294, allocations: 59.36 kB / 0.9724 GB, free: 4.301 MB / 0.9323 GB Notification: Performance of SimCode: time 4.11e-07/0.1294, allocations: 0 / 0.9724 GB, free: 4.301 MB / 0.9323 GB Notification: Performance of Templates: time 0.003252/0.1327, allocations: 1.44 MB / 0.9738 GB, free: 2.871 MB / 0.9323 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.42960614617914]