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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 190 kB / 22.23 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.934/2.934, allocations: 0.4893 GB / 0.7884 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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=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 0.001828/0.001828, allocations: 65.52 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3022, allocations: 174.9 MB / 1.316 GB, free: 9.703 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.162/0.4641, allocations: 135.8 MB / 1.449 GB, free: 1.348 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0001637/0.4643, allocations: 47.86 kB / 1.449 GB, free: 1.301 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.4643, allocations: 0 / 1.449 GB, free: 1.301 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.4645, allocations: 7.922 kB / 1.449 GB, free: 1.293 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 7.251e-05/0.4645, allocations: 11.94 kB / 1.449 GB, free: 1.281 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008894/0.4654, allocations: 254.9 kB / 1.449 GB, free: 1.031 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 8.963e-05/0.4655, allocations: 39.84 kB / 1.449 GB, free: 0.9922 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.4655, allocations: 4 kB / 1.449 GB, free: 0.9883 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.4656, allocations: 15.98 kB / 1.449 GB, free: 0.9727 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.4657, allocations: 11.98 kB / 1.449 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.4657, allocations: 7.938 kB / 1.449 GB, free: 0.9531 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000485/0.4662, allocations: 259.4 kB / 1.449 GB, free: 0.6992 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.4662, allocations: 7.984 kB / 1.449 GB, free: 0.6914 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.4662, allocations: 8 kB / 1.449 GB, free: 0.6836 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.4666, allocations: 191.5 kB / 1.449 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4666, allocations: 0 / 1.449 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4666, allocations: 0 / 1.449 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.4666, allocations: 0 / 1.449 GB, free: 0.4961 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.0004282/0.467, allocations: 278.1 kB / 1.45 GB, free: 200 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.4671, allocations: 19.97 kB / 1.45 GB, free: 180 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.4671, allocations: 0.9375 kB / 1.45 GB, free: 180 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.4672, allocations: 114.5 kB / 1.45 GB, free: 40 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.074e-05/0.4673, allocations: 30.27 kB / 1.45 GB, free: 4 kB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.4673, allocations: 8.078 kB / 1.45 GB, free: 15.99 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.4674, allocations: 37.69 kB / 1.45 GB, free: 15.95 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.4674, allocations: 0 / 1.45 GB, free: 15.95 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.4675, allocations: 4 kB / 1.45 GB, free: 15.95 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.4675, allocations: 3.938 kB / 1.45 GB, free: 15.94 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.474e-05/0.4675, allocations: 19.98 kB / 1.45 GB, free: 15.92 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006302/0.4682, allocations: 279.9 kB / 1.45 GB, free: 15.61 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.4682, allocations: 22.52 kB / 1.45 GB, free: 15.57 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.412e-05/0.4682, allocations: 8.922 kB / 1.45 GB, free: 15.56 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 6.689e-05/0.4683, allocations: 23.98 kB / 1.45 GB, free: 15.54 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.4683, allocations: 34.56 kB / 1.45 GB, free: 15.5 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.4683, allocations: 0 / 1.45 GB, free: 15.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001441/0.4685, allocations: 41.69 kB / 1.45 GB, free: 15.45 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.4685, allocations: 51.41 kB / 1.45 GB, free: 15.39 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.595e-05/0.4686, allocations: 105.8 kB / 1.45 GB, free: 15.27 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.4686, allocations: 25.7 kB / 1.451 GB, free: 15.24 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.4687, allocations: 88.09 kB / 1.451 GB, free: 15.15 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.935e-06/0.4687, allocations: 12.02 kB / 1.451 GB, free: 15.14 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.4687, allocations: 17.72 kB / 1.451 GB, free: 15.12 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4688, allocations: 318.8 kB / 1.451 GB, free: 14.8 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.4689, allocations: 4 kB / 1.451 GB, free: 14.79 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.413e-05/0.4689, allocations: 13.72 kB / 1.451 GB, free: 14.77 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.388e-05/0.4689, allocations: 17.72 kB / 1.451 GB, free: 14.75 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4689, allocations: 4 kB / 1.451 GB, free: 14.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.527e-05/0.469, allocations: 53.62 kB / 1.451 GB, free: 14.69 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.469, allocations: 4 kB / 1.451 GB, free: 14.68 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.469, allocations: 0 / 1.451 GB, free: 14.68 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.469, allocations: 0 / 1.451 GB, free: 14.68 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.887e-05/0.4691, allocations: 15.98 kB / 1.451 GB, free: 14.67 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.4691, allocations: 0 / 1.451 GB, free: 14.67 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.4691, allocations: 0 / 1.451 GB, free: 14.67 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.4691, allocations: 4 kB / 1.451 GB, free: 14.66 MB / 1.154 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.998e-05/0.4692, allocations: 122.3 kB / 1.451 GB, free: 14.54 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.4692, allocations: 0 / 1.451 GB, free: 14.54 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.4693, allocations: 117 kB / 1.451 GB, free: 14.41 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.103e-05/0.4694, allocations: 176.3 kB / 1.451 GB, free: 14.23 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.094e-05/0.4695, allocations: 184.2 kB / 1.452 GB, free: 14.05 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.507e-05/0.4696, allocations: 188.2 kB / 1.452 GB, free: 13.86 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.4698, allocations: 388.1 kB / 1.452 GB, free: 13.43 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-05/0.4699, allocations: 101 kB / 1.452 GB, free: 13.32 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.532e-05/0.4699, allocations: 109 kB / 1.452 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-05/0.47, allocations: 184.2 kB / 1.453 GB, free: 13.02 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.242e-05/0.4701, allocations: 180.3 kB / 1.453 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.112e-05/0.4702, allocations: 184.2 kB / 1.453 GB, free: 12.65 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.613e-05/0.4702, allocations: 176.3 kB / 1.453 GB, free: 12.47 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.4704, allocations: 315.9 kB / 1.453 GB, free: 12.14 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.4705, allocations: 105 kB / 1.453 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.4706, allocations: 184.2 kB / 1.454 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.4707, allocations: 109 kB / 1.454 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.4708, allocations: 184.2 kB / 1.454 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.4709, allocations: 101 kB / 1.454 GB, free: 11.43 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.456e-05/0.4709, allocations: 87.27 kB / 1.454 GB, free: 11.35 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.4709, allocations: 0 / 1.454 GB, free: 11.35 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003106/0.4712, allocations: 59.69 kB / 1.454 GB, free: 11.29 MB / 1.154 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.0003323/0.4716, allocations: 250.7 kB / 1.454 GB, free: 11.03 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 7.646e-05/0.4716, allocations: 15.94 kB / 1.454 GB, free: 11.02 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4716, allocations: 4.125 kB / 1.454 GB, free: 11.01 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-06/0.4716, allocations: 0 / 1.454 GB, free: 11.01 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.4721, allocations: 463.7 kB / 1.455 GB, free: 10.55 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.4723, allocations: 170.3 kB / 1.455 GB, free: 10.36 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.4726, allocations: 0.6807 MB / 1.456 GB, free: 9.656 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.4727, allocations: 7.984 kB / 1.456 GB, free: 9.648 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.4727, allocations: 7.438 kB / 1.456 GB, free: 9.641 MB / 1.154 GB Notification: Performance of SimCode: time 2.6e-07/0.4727, allocations: 0 / 1.456 GB, free: 9.641 MB / 1.154 GB Notification: Performance of Templates: time 0.004096/0.4768, allocations: 1.312 MB / 1.457 GB, free: 8.332 MB / 1.154 GB " [Timeout remaining time 300] 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: 8.198821187019348]