Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001356/0.001356, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001512/0.001512, allocations: 209.8 kB / 22.99 MB, free: 4.945 MB / 14.72 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.209/3.209, allocations: 0.4892 GB / 0.7951 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 76.33 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3921, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1664/0.5585, allocations: 119 MB / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0001939/0.5587, allocations: 59.8 kB / 1.443 GB, free: 10.36 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.5587, allocations: 0 / 1.443 GB, free: 10.36 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.5589, allocations: 0 / 1.443 GB, free: 10.36 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.559, allocations: 15.91 kB / 1.443 GB, free: 10.34 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.5601, allocations: 243 kB / 1.443 GB, free: 10.1 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.5602, allocations: 31.84 kB / 1.443 GB, free: 10.07 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.5602, allocations: 7.828 kB / 1.443 GB, free: 10.07 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.558e-05/0.5603, allocations: 19.97 kB / 1.443 GB, free: 10.05 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.082e-05/0.5603, allocations: 11.94 kB / 1.443 GB, free: 10.04 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.5604, allocations: 4 kB / 1.443 GB, free: 10.03 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005033/0.5609, allocations: 179.5 kB / 1.443 GB, free: 9.855 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.5609, allocations: 7.938 kB / 1.443 GB, free: 9.848 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.561, allocations: 11.97 kB / 1.443 GB, free: 9.836 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.5614, allocations: 171.5 kB / 1.443 GB, free: 9.668 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5614, allocations: 0 / 1.443 GB, free: 9.668 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5614, allocations: 0 / 1.443 GB, free: 9.668 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.5614, allocations: 0 / 1.443 GB, free: 9.668 MB / 1.139 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.0004974/0.5619, allocations: 286 kB / 1.443 GB, free: 9.359 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.5619, allocations: 8.031 kB / 1.443 GB, free: 9.352 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.562, allocations: 8.938 kB / 1.443 GB, free: 9.344 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.5621, allocations: 102.5 kB / 1.444 GB, free: 9.219 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/0.5622, allocations: 59.95 kB / 1.444 GB, free: 9.148 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.5622, allocations: 3.938 kB / 1.444 GB, free: 9.145 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.5624, allocations: 71.33 kB / 1.444 GB, free: 9.062 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5624, allocations: 0 / 1.444 GB, free: 9.062 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.5624, allocations: 4 kB / 1.444 GB, free: 9.059 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.5624, allocations: 4 kB / 1.444 GB, free: 9.055 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.226e-05/0.5625, allocations: 15.97 kB / 1.444 GB, free: 9.039 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007759/0.5633, allocations: 260.5 kB / 1.444 GB, free: 8.754 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 4.825e-05/0.5633, allocations: 18.58 kB / 1.444 GB, free: 8.727 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.5633, allocations: 4.859 kB / 1.444 GB, free: 8.719 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.23e-05/0.5634, allocations: 35.97 kB / 1.444 GB, free: 8.684 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.5635, allocations: 34.56 kB / 1.444 GB, free: 8.641 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5635, allocations: 0 / 1.444 GB, free: 8.641 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001586/0.5636, allocations: 33.66 kB / 1.444 GB, free: 8.602 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.5637, allocations: 55.34 kB / 1.444 GB, free: 8.535 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.5638, allocations: 106 kB / 1.444 GB, free: 8.422 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.5639, allocations: 29.7 kB / 1.444 GB, free: 8.387 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.564, allocations: 96.02 kB / 1.444 GB, free: 8.289 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-06/0.564, allocations: 0 / 1.444 GB, free: 8.289 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.564, allocations: 21.7 kB / 1.444 GB, free: 8.262 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.5642, allocations: 314.8 kB / 1.445 GB, free: 7.945 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/0.5642, allocations: 7.938 kB / 1.445 GB, free: 7.938 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.803e-05/0.5642, allocations: 17.72 kB / 1.445 GB, free: 7.914 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.861e-05/0.5643, allocations: 17.7 kB / 1.445 GB, free: 7.891 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5643, allocations: 4 kB / 1.445 GB, free: 7.887 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.661e-05/0.5644, allocations: 53.62 kB / 1.445 GB, free: 7.828 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5644, allocations: 4 kB / 1.445 GB, free: 7.824 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.5644, allocations: 0 / 1.445 GB, free: 7.824 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5644, allocations: 4 kB / 1.445 GB, free: 7.82 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.757e-05/0.5645, allocations: 7.938 kB / 1.445 GB, free: 7.812 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5645, allocations: 0 / 1.445 GB, free: 7.812 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.5645, allocations: 3.953 kB / 1.445 GB, free: 7.809 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.5645, allocations: 4 kB / 1.445 GB, free: 7.805 MB / 1.139 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.551e-05/0.5646, allocations: 113.8 kB / 1.445 GB, free: 7.684 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.5646, allocations: 8.062 kB / 1.445 GB, free: 7.676 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.5648, allocations: 120.9 kB / 1.445 GB, free: 7.547 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.552e-05/0.5649, allocations: 184.3 kB / 1.445 GB, free: 7.359 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.398e-05/0.5649, allocations: 180.2 kB / 1.445 GB, free: 7.176 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001338/0.5651, allocations: 184.2 kB / 1.446 GB, free: 6.988 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.5653, allocations: 356.8 kB / 1.446 GB, free: 6.602 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.346e-05/0.5654, allocations: 104.9 kB / 1.446 GB, free: 6.492 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.5655, allocations: 109 kB / 1.446 GB, free: 6.379 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.683e-05/0.5655, allocations: 180.2 kB / 1.446 GB, free: 6.195 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.43e-05/0.5656, allocations: 180.3 kB / 1.446 GB, free: 6.012 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.734e-05/0.5657, allocations: 180.4 kB / 1.447 GB, free: 5.828 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.654e-05/0.5658, allocations: 180.2 kB / 1.447 GB, free: 5.645 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.566, allocations: 319.7 kB / 1.447 GB, free: 5.309 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.5661, allocations: 101 kB / 1.447 GB, free: 5.203 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.5662, allocations: 184.2 kB / 1.447 GB, free: 5.016 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.5663, allocations: 117 kB / 1.447 GB, free: 4.895 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.5664, allocations: 180.2 kB / 1.448 GB, free: 4.711 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/0.5665, allocations: 104.9 kB / 1.448 GB, free: 4.602 MB / 1.139 GB Notification: Performance of sorting global known variables: time 6.849e-05/0.5666, allocations: 91.27 kB / 1.448 GB, free: 4.512 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5666, allocations: 0 / 1.448 GB, free: 4.512 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003516/0.5669, allocations: 55.75 kB / 1.448 GB, free: 4.457 MB / 1.139 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.0003966/0.5673, allocations: 254.5 kB / 1.448 GB, free: 4.195 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 8.662e-05/0.5674, allocations: 4 kB / 1.448 GB, free: 4.191 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5674, allocations: 4.125 kB / 1.448 GB, free: 4.188 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.32e-05/0.5674, allocations: 7.938 kB / 1.448 GB, free: 4.18 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.568, allocations: 469.7 kB / 1.449 GB, free: 3.719 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.5684, allocations: 199.8 kB / 1.449 GB, free: 3.492 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.517e-05/0.5685, allocations: 59.34 kB / 1.449 GB, free: 3.414 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.5685, allocations: 7.438 kB / 1.449 GB, free: 3.406 MB / 1.139 GB Notification: Performance of SimCode: time 3.91e-07/0.5685, allocations: 0 / 1.449 GB, free: 3.406 MB / 1.139 GB Notification: Performance of Templates: time 0.003493/0.572, allocations: 1.248 MB / 1.45 GB, free: 2.16 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.513659280259162]