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.001969/0.001969, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.002283/0.002283, allocations: 165.1 kB / 22.46 MB, free: 5.359 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.562/1.562, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.976/2.976, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.823e-06/1.823e-06, allocations: 0 / 1 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.492e-05, allocations: 2.281 kB / 1 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.8607/0.8607, allocations: 119 MB / 1.116 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001935/0.8609, allocations: 50.42 kB / 1.116 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.661e-05/0.8609, allocations: 0.6562 kB / 1.116 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.8611, allocations: 3.953 kB / 1.116 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.42e-05/0.8611, allocations: 14.38 kB / 1.116 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000926/0.8621, allocations: 250 kB / 1.117 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.8622, allocations: 35.83 kB / 1.117 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.8622, allocations: 7.062 kB / 1.117 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.729e-05/0.8623, allocations: 18.81 kB / 1.117 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.8624, allocations: 11.36 kB / 1.117 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.8624, allocations: 0.7188 kB / 1.117 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.8628, allocations: 180.5 kB / 1.117 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.8629, allocations: 8.641 kB / 1.117 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.8629, allocations: 11.02 kB / 1.117 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.8633, allocations: 179.6 kB / 1.117 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8633, allocations: 2.531 kB / 1.117 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.8633, allocations: 0 / 1.117 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.8633, allocations: 4 kB / 1.117 GB, free: 14.11 MB / 0.9981 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.0003581/0.8637, allocations: 281.8 kB / 1.117 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.8637, allocations: 9.859 kB / 1.117 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.8637, allocations: 2.656 kB / 1.117 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.314e-05/0.8638, allocations: 114.6 kB / 1.117 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/0.8639, allocations: 53.8 kB / 1.118 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.8639, allocations: 2.719 kB / 1.118 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.864, allocations: 69.84 kB / 1.118 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.864, allocations: 3.938 kB / 1.118 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.864, allocations: 1.062 kB / 1.118 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.8641, allocations: 5.828 kB / 1.118 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.767e-05/0.8641, allocations: 14.31 kB / 1.118 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.8647, allocations: 248.4 kB / 1.118 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.62e-05/0.8648, allocations: 25.48 kB / 1.118 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.8648, allocations: 7.266 kB / 1.118 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-05/0.8649, allocations: 29.83 kB / 1.118 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.8649, allocations: 35.72 kB / 1.118 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.8649, allocations: 0 / 1.118 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001488/0.865, allocations: 40 kB / 1.118 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.8651, allocations: 52.31 kB / 1.118 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.171e-05/0.8651, allocations: 106.1 kB / 1.118 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.8651, allocations: 25.7 kB / 1.118 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.8652, allocations: 90.23 kB / 1.118 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.8652, allocations: 8.422 kB / 1.118 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.8652, allocations: 14.7 kB / 1.118 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.584e-05/0.8652, allocations: 316.6 kB / 1.119 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.8653, allocations: 5.906 kB / 1.119 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.417e-05/0.8653, allocations: 15.36 kB / 1.119 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.951e-05/0.8653, allocations: 29.05 kB / 1.119 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8653, allocations: 0 / 1.119 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.75e-05/0.8654, allocations: 51.14 kB / 1.119 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.8654, allocations: 7 kB / 1.119 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.8654, allocations: 4.734 kB / 1.119 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.8654, allocations: 1.406 kB / 1.119 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.265e-05/0.8655, allocations: 5.719 kB / 1.119 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.8655, allocations: 1.062 kB / 1.119 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/0.8655, allocations: 6.906 kB / 1.119 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.8655, allocations: 2.609 kB / 1.119 GB, free: 12.57 MB / 0.9981 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.729e-05/0.8656, allocations: 114.8 kB / 1.119 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.8656, allocations: 5.281 kB / 1.119 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.8657, allocations: 123 kB / 1.119 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.315e-05/0.8658, allocations: 185.1 kB / 1.119 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.478e-05/0.8658, allocations: 181.1 kB / 1.119 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.797e-05/0.8658, allocations: 180.3 kB / 1.119 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.8659, allocations: 356.9 kB / 1.12 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/0.866, allocations: 104.6 kB / 1.12 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.606e-05/0.866, allocations: 113 kB / 1.12 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.59e-05/0.866, allocations: 178.3 kB / 1.12 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.866, allocations: 180.6 kB / 1.12 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.674e-05/0.8661, allocations: 184 kB / 1.12 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.671e-05/0.8661, allocations: 180.8 kB / 1.121 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.695e-05/0.8662, allocations: 306.4 kB / 1.121 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/0.8662, allocations: 114.6 kB / 1.121 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.8662, allocations: 181 kB / 1.121 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.8664, allocations: 107.5 kB / 1.121 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.8664, allocations: 181.6 kB / 1.122 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.8664, allocations: 106.8 kB / 1.122 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.23e-05/0.8664, allocations: 85.16 kB / 1.122 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8664, allocations: 0 / 1.122 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003816/0.8668, allocations: 61.62 kB / 1.122 GB, free: 9.395 MB / 0.9981 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.0003823/0.8672, allocations: 259.3 kB / 1.122 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.348e-05/0.8673, allocations: 13.36 kB / 1.122 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8673, allocations: 0.75 kB / 1.122 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/0.8673, allocations: 0.7812 kB / 1.122 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.8676, allocations: 463.8 kB / 1.122 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.8679, allocations: 180.6 kB / 1.123 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.677e-05/0.8679, allocations: 57.45 kB / 1.123 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.681e-05/0.868, allocations: 11.62 kB / 1.123 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.868, allocations: 10.59 kB / 1.123 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.868, allocations: 0 / 1.123 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of Templates: time 0.005348/0.8733, allocations: 1.344 MB / 1.124 GB, free: 8.316 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.24060121178627]