Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001484/0.001484, 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.001224/0.001224, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.009/1.009, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.828/1.828, allocations: 359 MB / 0.6052 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.787 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/1.985e-05, allocations: 2.969 kB / 0.787 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1171/0.1171, allocations: 131.1 MB / 0.9151 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0002351/0.1174, allocations: 51.8 kB / 0.9152 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.458e-05/0.1174, allocations: 0 / 0.9152 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.1176, allocations: 3.938 kB / 0.9152 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.1177, allocations: 11.92 kB / 0.9152 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009724/0.1187, allocations: 262.8 kB / 0.9154 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 9.032e-05/0.1188, allocations: 35.84 kB / 0.9155 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.1188, allocations: 0 / 0.9155 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.334e-05/0.1189, allocations: 23.97 kB / 0.9155 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.791e-05/0.1189, allocations: 19.92 kB / 0.9155 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1189, allocations: 0 / 0.9155 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.1192, allocations: 179.4 kB / 0.9157 GB, free: 8.402 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.1193, allocations: 11.97 kB / 0.9157 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.1193, allocations: 8 kB / 0.9157 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.1196, allocations: 183.5 kB / 0.9159 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1196, allocations: 0 / 0.9159 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1196, allocations: 0 / 0.9159 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.1196, allocations: 0 / 0.9159 GB, free: 8.203 MB / 0.8698 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.0004089/0.12, allocations: 380 kB / 0.9162 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.12, allocations: 12.03 kB / 0.9162 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.1201, allocations: 8.922 kB / 0.9163 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.99e-05/0.1202, allocations: 116.9 kB / 0.9164 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.1202, allocations: 55.97 kB / 0.9164 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.1203, allocations: 4.375 kB / 0.9164 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.1204, allocations: 80.41 kB / 0.9165 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.1204, allocations: 0 / 0.9165 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1204, allocations: 3.938 kB / 0.9165 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.1204, allocations: 3.938 kB / 0.9165 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.015e-05/0.1205, allocations: 11.98 kB / 0.9165 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.121, allocations: 303.7 kB / 0.9168 GB, free: 7.121 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.884e-05/0.121, allocations: 35.03 kB / 0.9168 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.424e-05/0.121, allocations: 7.688 kB / 0.9168 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.121, allocations: 32.05 kB / 0.9169 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.1211, allocations: 37.33 kB / 0.9169 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1211, allocations: 0 / 0.9169 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.1212, allocations: 41.69 kB / 0.917 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.1213, allocations: 51.41 kB / 0.917 GB, free: 6.875 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.16e-05/0.1214, allocations: 158.1 kB / 0.9172 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.1214, allocations: 29.7 kB / 0.9172 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.1214, allocations: 142.8 kB / 0.9173 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.229e-06/0.1214, allocations: 3.953 kB / 0.9173 GB, free: 6.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.1215, allocations: 19.38 kB / 0.9173 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1216, allocations: 496.1 kB / 0.9178 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.1216, allocations: 4 kB / 0.9178 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.1216, allocations: 27.3 kB / 0.9178 GB, free: 5.957 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.1216, allocations: 23.38 kB / 0.9179 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1216, allocations: 7.938 kB / 0.9179 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.406e-05/0.1217, allocations: 45.62 kB / 0.9179 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1217, allocations: 8 kB / 0.9179 GB, free: 5.859 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1217, allocations: 0 / 0.9179 GB, free: 5.859 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1217, allocations: 0 / 0.9179 GB, free: 5.859 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.173e-05/0.1218, allocations: 8 kB / 0.9179 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1218, allocations: 4 kB / 0.9179 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.116e-05/0.1218, allocations: 0 / 0.9179 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1218, allocations: 0 / 0.9179 GB, free: 5.848 MB / 0.8698 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.836e-05/0.1219, allocations: 164.6 kB / 0.9181 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.1219, allocations: 4 kB / 0.9181 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.122, allocations: 171.6 kB / 0.9183 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.301e-05/0.122, allocations: 264.1 kB / 0.9185 GB, free: 5.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.842e-05/0.1221, allocations: 279.9 kB / 0.9188 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.94e-05/0.1221, allocations: 264.1 kB / 0.919 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.1223, allocations: 495.9 kB / 0.9195 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.481e-05/0.1223, allocations: 156.8 kB / 0.9197 GB, free: 3.996 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.1224, allocations: 149 kB / 0.9198 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.632e-05/0.1224, allocations: 272.3 kB / 0.9201 GB, free: 3.57 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.798e-05/0.1225, allocations: 268.1 kB / 0.9203 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.483e-05/0.1225, allocations: 272.1 kB / 0.9206 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.658e-05/0.1226, allocations: 272 kB / 0.9208 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.1227, allocations: 451.9 kB / 0.9213 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.1227, allocations: 148.8 kB / 0.9214 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.1228, allocations: 264.1 kB / 0.9217 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.835e-05/0.1229, allocations: 160.8 kB / 0.9218 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.123, allocations: 264.1 kB / 0.9221 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.123, allocations: 152.8 kB / 0.9222 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.123, allocations: 127.2 kB / 0.9223 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.123, allocations: 0 / 0.9223 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002007/0.1232, allocations: 59.75 kB / 0.9224 GB, free: 1.098 MB / 0.8698 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.0002617/0.1235, allocations: 298.1 kB / 0.9227 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.66e-05/0.1236, allocations: 19.67 kB / 0.9227 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1236, allocations: 0 / 0.9227 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.1236, allocations: 4.125 kB / 0.9227 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.1239, allocations: 0.7139 MB / 0.9234 GB, free: 52 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.1243, allocations: 233.2 kB / 0.9236 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.281e-05/0.1244, allocations: 55.36 kB / 0.9237 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.1244, allocations: 7.984 kB / 0.9237 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.1244, allocations: 12.5 kB / 0.9237 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of SimCode: time 4.8e-07/0.1244, allocations: 0 / 0.9237 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.002996/0.1274, allocations: 1.25 MB / 0.9249 GB, free: 14.46 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.3223642911762]