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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 249.9 MB, free: 3.234 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.739/2.739, allocations: 489.7 MB / 0.7761 GB, free: 2.414 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.89 kB / 1.127 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9539/0.9559, allocations: 172.1 MB / 1.295 GB, free: 38.87 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1407/1.097, allocations: 135.8 MB / 1.427 GB, free: 4.281 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0001667/1.097, allocations: 63.08 kB / 1.427 GB, free: 4.238 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/1.097, allocations: 0 / 1.427 GB, free: 4.238 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 9.686e-05/1.097, allocations: 2.922 kB / 1.427 GB, free: 4.238 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-05/1.097, allocations: 12.95 kB / 1.427 GB, free: 4.23 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008585/1.098, allocations: 248.1 kB / 1.428 GB, free: 4.109 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 8.24e-05/1.098, allocations: 33.14 kB / 1.428 GB, free: 4.098 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/1.098, allocations: 0.7969 kB / 1.428 GB, free: 4.098 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/1.098, allocations: 21.12 kB / 1.428 GB, free: 4.09 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/1.098, allocations: 15.81 kB / 1.428 GB, free: 4.082 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/1.098, allocations: 1.25 kB / 1.428 GB, free: 4.082 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005627/1.099, allocations: 251.8 kB / 1.428 GB, free: 3.988 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/1.099, allocations: 5.406 kB / 1.428 GB, free: 3.988 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/1.099, allocations: 14.98 kB / 1.428 GB, free: 3.98 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004008/1.099, allocations: 192.4 kB / 1.428 GB, free: 3.926 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/1.099, allocations: 1.344 kB / 1.428 GB, free: 3.926 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.493e-06/1.099, allocations: 0 / 1.428 GB, free: 3.926 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.388e-06/1.099, allocations: 0 / 1.428 GB, free: 3.926 MB / 1.123 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.0004764/1.1, allocations: 365.8 kB / 1.429 GB, free: 3.547 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/1.1, allocations: 9.812 kB / 1.429 GB, free: 3.547 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/1.1, allocations: 2.281 kB / 1.429 GB, free: 3.547 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/1.1, allocations: 162.7 kB / 1.429 GB, free: 3.352 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-05/1.1, allocations: 27.67 kB / 1.429 GB, free: 3.32 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/1.1, allocations: 5.375 kB / 1.429 GB, free: 3.316 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/1.1, allocations: 43.84 kB / 1.429 GB, free: 3.281 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/1.1, allocations: 3.938 kB / 1.429 GB, free: 3.277 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/1.1, allocations: 1.062 kB / 1.429 GB, free: 3.277 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/1.1, allocations: 6.078 kB / 1.429 GB, free: 3.273 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.991e-05/1.1, allocations: 12.11 kB / 1.429 GB, free: 3.273 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008012/1.101, allocations: 0.6021 MB / 1.429 GB, free: 2.613 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 4.541e-05/1.101, allocations: 17.42 kB / 1.429 GB, free: 2.59 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/1.101, allocations: 4.859 kB / 1.429 GB, free: 2.582 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/1.101, allocations: 337.8 kB / 1.43 GB, free: 2.199 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/1.101, allocations: 41.64 kB / 1.43 GB, free: 2.152 MB / 1.123 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/1.101, allocations: 1.5 kB / 1.43 GB, free: 2.152 MB / 1.123 GB Notification: Performance of matching and sorting (n=1): time 0.0001414/1.101, allocations: 34.97 kB / 1.43 GB, free: 2.117 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/1.101, allocations: 55.34 kB / 1.43 GB, free: 2.051 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.072e-05/1.101, allocations: 111.2 kB / 1.43 GB, free: 1.941 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/1.101, allocations: 25.7 kB / 1.43 GB, free: 1.91 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 9.218e-05/1.102, allocations: 91.38 kB / 1.43 GB, free: 1.82 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-06/1.102, allocations: 0 / 1.43 GB, free: 1.82 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/1.102, allocations: 20.84 kB / 1.43 GB, free: 1.801 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.102, allocations: 320.1 kB / 1.43 GB, free: 1.48 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/1.102, allocations: 2.5 kB / 1.43 GB, free: 1.48 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/1.102, allocations: 23.7 kB / 1.43 GB, free: 1.457 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.647e-05/1.102, allocations: 19.41 kB / 1.431 GB, free: 1.438 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/1.102, allocations: 1.344 kB / 1.431 GB, free: 1.438 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.994e-05/1.102, allocations: 49.22 kB / 1.431 GB, free: 1.398 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.102, allocations: 7.359 kB / 1.431 GB, free: 1.398 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/1.102, allocations: 1.281 kB / 1.431 GB, free: 1.398 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/1.102, allocations: 0 / 1.431 GB, free: 1.398 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.186e-05/1.102, allocations: 4.875 kB / 1.431 GB, free: 1.398 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/1.102, allocations: 1.219 kB / 1.431 GB, free: 1.398 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/1.102, allocations: 5.234 kB / 1.431 GB, free: 1.395 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/1.102, allocations: 16.61 kB / 1.431 GB, free: 1.383 MB / 1.123 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 8.415e-05/1.102, allocations: 112.9 kB / 1.431 GB, free: 1.266 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/1.102, allocations: 1.469 kB / 1.431 GB, free: 1.266 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/1.102, allocations: 116.8 kB / 1.431 GB, free: 1.148 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.752e-05/1.102, allocations: 177.4 kB / 1.431 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-05/1.102, allocations: 190.3 kB / 1.431 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.829e-05/1.102, allocations: 178.4 kB / 1.431 GB, free: 0.5977 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/1.103, allocations: 403.8 kB / 1.432 GB, free: 156 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.596e-05/1.103, allocations: 107.4 kB / 1.432 GB, free: 44 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/1.103, allocations: 105 kB / 1.432 GB, free: 15.93 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.04e-05/1.103, allocations: 186.1 kB / 1.432 GB, free: 15.75 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.996e-05/1.103, allocations: 182.4 kB / 1.432 GB, free: 15.56 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.201e-05/1.103, allocations: 178 kB / 1.432 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-05/1.103, allocations: 181.9 kB / 1.433 GB, free: 15.2 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/1.103, allocations: 309.5 kB / 1.433 GB, free: 14.88 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/1.103, allocations: 184.8 kB / 1.433 GB, free: 14.68 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/1.104, allocations: 178.5 kB / 1.433 GB, free: 14.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/1.104, allocations: 114.2 kB / 1.433 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/1.104, allocations: 187.1 kB / 1.434 GB, free: 14.2 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/1.104, allocations: 104.9 kB / 1.434 GB, free: 14.09 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.056e-05/1.104, allocations: 86.41 kB / 1.434 GB, free: 14.01 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.104, allocations: 0 / 1.434 GB, free: 14.01 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00036/1.104, allocations: 64.45 kB / 1.434 GB, free: 13.98 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.0003488/1.105, allocations: 248.1 kB / 1.434 GB, free: 13.8 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 7.173e-05/1.105, allocations: 15.06 kB / 1.434 GB, free: 13.79 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.105, allocations: 1.188 kB / 1.434 GB, free: 13.79 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/1.105, allocations: 0 / 1.434 GB, free: 13.79 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/1.105, allocations: 461.5 kB / 1.434 GB, free: 13.34 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/1.105, allocations: 208.2 kB / 1.435 GB, free: 13.13 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/1.106, allocations: 0.6777 MB / 1.435 GB, free: 12.43 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/1.106, allocations: 10.42 kB / 1.435 GB, free: 12.43 MB / 1.139 GB Notification: Performance of SimCode: time 3.91e-07/1.106, allocations: 0 / 1.435 GB, free: 12.43 MB / 1.139 GB Notification: Performance of Templates: time 0.003196/1.109, allocations: 1.233 MB / 1.437 GB, free: 12.27 MB / 1.139 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/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