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.001775/0.001775, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002279/0.002279, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.649/1.649, allocations: 230.6 MB / 256 MB, free: 7.785 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.411/3.411, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 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.002173/0.002173, allocations: 76.3 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4186, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1813/0.5999, allocations: 119 MB / 1.442 GB, free: 10.44 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0002196/0.6001, allocations: 55.86 kB / 1.442 GB, free: 10.39 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.6001, allocations: 4 kB / 1.442 GB, free: 10.38 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.6003, allocations: 3.938 kB / 1.442 GB, free: 10.38 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 9.566e-05/0.6004, allocations: 15.91 kB / 1.442 GB, free: 10.36 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.6015, allocations: 243 kB / 1.442 GB, free: 10.12 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.6016, allocations: 31.75 kB / 1.442 GB, free: 10.1 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.847e-05/0.6016, allocations: 4 kB / 1.442 GB, free: 10.09 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.097e-05/0.6017, allocations: 23.91 kB / 1.442 GB, free: 10.07 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.6018, allocations: 11.98 kB / 1.442 GB, free: 10.06 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.6018, allocations: 0 / 1.442 GB, free: 10.06 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005336/0.6023, allocations: 175.5 kB / 1.442 GB, free: 9.887 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.6024, allocations: 11.92 kB / 1.442 GB, free: 9.875 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.6024, allocations: 11.92 kB / 1.442 GB, free: 9.863 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004818/0.6029, allocations: 171.6 kB / 1.442 GB, free: 9.695 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6029, allocations: 0 / 1.442 GB, free: 9.695 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6029, allocations: 7.938 kB / 1.442 GB, free: 9.688 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.6029, allocations: 0 / 1.442 GB, free: 9.688 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.0005379/0.6035, allocations: 282 kB / 1.443 GB, free: 9.383 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.6035, allocations: 8.031 kB / 1.443 GB, free: 9.375 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.6036, allocations: 8.922 kB / 1.443 GB, free: 9.367 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.6037, allocations: 102.5 kB / 1.443 GB, free: 9.242 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.634e-05/0.6038, allocations: 55.97 kB / 1.443 GB, free: 9.176 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.6038, allocations: 3.938 kB / 1.443 GB, free: 9.172 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.604, allocations: 67.39 kB / 1.443 GB, free: 9.094 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.604, allocations: 0 / 1.443 GB, free: 9.094 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.604, allocations: 8 kB / 1.443 GB, free: 9.086 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.6041, allocations: 0 / 1.443 GB, free: 9.086 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.765e-05/0.6041, allocations: 15.92 kB / 1.443 GB, free: 9.07 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007824/0.6049, allocations: 260.5 kB / 1.443 GB, free: 8.785 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 7.001e-05/0.605, allocations: 18.58 kB / 1.443 GB, free: 8.758 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.605, allocations: 8.797 kB / 1.443 GB, free: 8.746 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.502e-05/0.6051, allocations: 36.02 kB / 1.443 GB, free: 8.711 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.6051, allocations: 34.56 kB / 1.443 GB, free: 8.668 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.6051, allocations: 4 kB / 1.443 GB, free: 8.664 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001831/0.6053, allocations: 37.62 kB / 1.443 GB, free: 8.621 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.6054, allocations: 51.41 kB / 1.443 GB, free: 8.559 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.6055, allocations: 105.8 kB / 1.443 GB, free: 8.445 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.6055, allocations: 25.7 kB / 1.444 GB, free: 8.414 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.6056, allocations: 96.02 kB / 1.444 GB, free: 8.316 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-06/0.6056, allocations: 0 / 1.444 GB, free: 8.316 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.6056, allocations: 17.72 kB / 1.444 GB, free: 8.293 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.6058, allocations: 314.8 kB / 1.444 GB, free: 7.977 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.6058, allocations: 4 kB / 1.444 GB, free: 7.973 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.6058, allocations: 25.83 kB / 1.444 GB, free: 7.941 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.6059, allocations: 17.66 kB / 1.444 GB, free: 7.918 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6059, allocations: 4 kB / 1.444 GB, free: 7.914 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.703e-05/0.606, allocations: 49.69 kB / 1.444 GB, free: 7.859 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.606, allocations: 5.719 kB / 1.444 GB, free: 7.855 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.606, allocations: 0 / 1.444 GB, free: 7.855 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.606, allocations: 4 kB / 1.444 GB, free: 7.852 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/0.6061, allocations: 7.938 kB / 1.444 GB, free: 7.844 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6061, allocations: 4.062 kB / 1.444 GB, free: 7.84 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.6061, allocations: 3.953 kB / 1.444 GB, free: 7.836 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.6061, allocations: 7.984 kB / 1.444 GB, free: 7.828 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 0.0001029/0.6062, allocations: 117.7 kB / 1.444 GB, free: 7.703 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.6063, allocations: 4 kB / 1.444 GB, free: 7.699 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.6064, allocations: 113 kB / 1.444 GB, free: 7.578 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.949e-05/0.6065, allocations: 188.2 kB / 1.444 GB, free: 7.387 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-05/0.6066, allocations: 176.3 kB / 1.445 GB, free: 7.207 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.301e-05/0.6067, allocations: 184.2 kB / 1.445 GB, free: 7.02 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.607, allocations: 360.8 kB / 1.445 GB, free: 6.629 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.945e-05/0.607, allocations: 105 kB / 1.445 GB, free: 6.52 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.219e-05/0.6071, allocations: 108.9 kB / 1.445 GB, free: 6.406 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-05/0.6072, allocations: 176.3 kB / 1.446 GB, free: 6.227 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.682e-05/0.6073, allocations: 184.2 kB / 1.446 GB, free: 6.039 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.024e-05/0.6073, allocations: 176.4 kB / 1.446 GB, free: 5.859 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.891e-05/0.6074, allocations: 192.1 kB / 1.446 GB, free: 5.664 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.6076, allocations: 307.8 kB / 1.446 GB, free: 5.34 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.6077, allocations: 104.9 kB / 1.446 GB, free: 5.23 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.6078, allocations: 184.2 kB / 1.447 GB, free: 5.043 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.6079, allocations: 109 kB / 1.447 GB, free: 4.93 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.608, allocations: 184.2 kB / 1.447 GB, free: 4.742 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.6081, allocations: 101 kB / 1.447 GB, free: 4.637 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.612e-05/0.6081, allocations: 87.27 kB / 1.447 GB, free: 4.551 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.6081, allocations: 0 / 1.447 GB, free: 4.551 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003451/0.6085, allocations: 59.73 kB / 1.447 GB, free: 4.492 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.0003684/0.6088, allocations: 258.4 kB / 1.447 GB, free: 4.227 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 9.553e-05/0.6089, allocations: 11.92 kB / 1.447 GB, free: 4.215 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6089, allocations: 0 / 1.447 GB, free: 4.215 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 4.197e-06/0.6089, allocations: 4 kB / 1.447 GB, free: 4.211 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.6094, allocations: 467.6 kB / 1.448 GB, free: 3.75 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.6097, allocations: 178.1 kB / 1.448 GB, free: 3.551 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.38e-05/0.6098, allocations: 55.36 kB / 1.448 GB, free: 3.477 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 4.275e-05/0.6098, allocations: 12.39 kB / 1.448 GB, free: 3.465 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.6099, allocations: 7.438 kB / 1.448 GB, free: 3.457 MB / 1.139 GB Notification: Performance of SimCode: time 6.01e-07/0.6099, allocations: 0 / 1.448 GB, free: 3.457 MB / 1.139 GB Notification: Performance of Templates: time 0.004889/0.6147, allocations: 1.328 MB / 1.449 GB, free: 2.137 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/jenkins/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: 10.00606201775372]