Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.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.001452/0.001452, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001559/0.001559, allocations: 215.7 kB / 23.01 MB, free: 4.609 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.327/1.327, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 179] 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.947/2.947, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck") [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.001893/0.001893, allocations: 66.58 kB / 1.178 GB, free: 16.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2906, allocations: 180.2 MB / 1.354 GB, free: 8.055 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002229/0.2928, allocations: 1.278 MB / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1511/0.444, allocations: 141 MB / 1.493 GB, free: 9.25 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.444, allocations: 0 / 1.493 GB, free: 9.25 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.444, allocations: 7.922 kB / 1.493 GB, free: 9.242 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.4441, allocations: 0 / 1.493 GB, free: 9.242 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.4452, allocations: 474.3 kB / 1.493 GB, free: 8.777 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 7.548e-05/0.4453, allocations: 47.84 kB / 1.493 GB, free: 8.73 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.338e-05/0.4453, allocations: 3.984 kB / 1.493 GB, free: 8.727 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 3.94e-05/0.4453, allocations: 15.94 kB / 1.493 GB, free: 8.711 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 7.231e-05/0.4454, allocations: 23.91 kB / 1.494 GB, free: 8.688 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.4454, allocations: 4 kB / 1.494 GB, free: 8.684 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.4468, allocations: 0.8387 MB / 1.494 GB, free: 7.844 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.4468, allocations: 8 kB / 1.494 GB, free: 7.836 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.4469, allocations: 23.91 kB / 1.494 GB, free: 7.812 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0005446/0.4474, allocations: 443 kB / 1.495 GB, free: 7.379 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4474, allocations: 0 / 1.495 GB, free: 7.379 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4474, allocations: 0 / 1.495 GB, free: 7.379 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.4474, allocations: 0 / 1.495 GB, free: 7.379 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004774/0.4479, allocations: 302.1 kB / 1.495 GB, free: 7.055 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.4479, allocations: 8.031 kB / 1.495 GB, free: 7.047 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.4481, allocations: 12.92 kB / 1.495 GB, free: 7.035 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.732e-05/0.4482, allocations: 106.5 kB / 1.495 GB, free: 6.906 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.4482, allocations: 4.375 kB / 1.495 GB, free: 6.902 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.4482, allocations: 12.08 kB / 1.495 GB, free: 6.891 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.4484, allocations: 61.59 kB / 1.495 GB, free: 6.824 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4484, allocations: 0 / 1.495 GB, free: 6.824 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4484, allocations: 4 kB / 1.495 GB, free: 6.82 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.4484, allocations: 4 kB / 1.495 GB, free: 6.816 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.908e-05/0.4484, allocations: 15.98 kB / 1.495 GB, free: 6.801 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.4486, allocations: 132.8 kB / 1.495 GB, free: 6.629 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.4487, allocations: 54.53 kB / 1.495 GB, free: 6.566 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.4487, allocations: 20.73 kB / 1.496 GB, free: 6.543 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.4592, allocations: 2.864 MB / 1.498 GB, free: 3.676 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4592, allocations: 38.56 kB / 1.498 GB, free: 3.629 MB / 1.186 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.4592, allocations: 3.938 kB / 1.498 GB, free: 3.625 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0378/0.497, allocations: 14.92 MB / 1.513 GB, free: 4.566 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.497, allocations: 51.41 kB / 1.513 GB, free: 4.504 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.17e-05/0.4971, allocations: 97.84 kB / 1.513 GB, free: 4.398 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.4971, allocations: 33.7 kB / 1.513 GB, free: 4.359 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.4972, allocations: 80.14 kB / 1.513 GB, free: 4.277 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.4972, allocations: 35.66 kB / 1.513 GB, free: 4.242 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.4973, allocations: 33.7 kB / 1.513 GB, free: 4.203 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4974, allocations: 322.8 kB / 1.514 GB, free: 3.879 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.4974, allocations: 20 kB / 1.514 GB, free: 3.859 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.302e-05/0.4975, allocations: 34.55 kB / 1.514 GB, free: 3.828 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.4976, allocations: 64.78 kB / 1.514 GB, free: 3.762 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4976, allocations: 0 / 1.514 GB, free: 3.762 MB / 1.201 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000212/0.4978, allocations: 97.69 kB / 1.514 GB, free: 3.66 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4978, allocations: 8 kB / 1.514 GB, free: 3.652 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4979, allocations: 0 / 1.514 GB, free: 3.652 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.4979, allocations: 0 / 1.514 GB, free: 3.652 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.498, allocations: 31.92 kB / 1.514 GB, free: 3.621 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.498, allocations: 0 / 1.514 GB, free: 3.621 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.498, allocations: 0 / 1.514 GB, free: 3.621 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.498, allocations: 12.23 kB / 1.514 GB, free: 3.609 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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.348e-05/0.4981, allocations: 122.4 kB / 1.514 GB, free: 3.48 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.4982, allocations: 11.94 kB / 1.514 GB, free: 3.469 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.4984, allocations: 121.4 kB / 1.514 GB, free: 3.344 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4984, allocations: 7.938 kB / 1.514 GB, free: 3.336 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4984, allocations: 7.938 kB / 1.514 GB, free: 3.328 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4984, allocations: 0 / 1.514 GB, free: 3.328 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.4986, allocations: 148.7 kB / 1.514 GB, free: 3.141 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4986, allocations: 0 / 1.514 GB, free: 3.141 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.4987, allocations: 27.98 kB / 1.514 GB, free: 3.113 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4987, allocations: 0 / 1.514 GB, free: 3.113 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.4987, allocations: 4 kB / 1.514 GB, free: 3.109 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4987, allocations: 0 / 1.514 GB, free: 3.109 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4987, allocations: 4 kB / 1.514 GB, free: 3.105 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.499, allocations: 168.8 kB / 1.514 GB, free: 2.922 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.499, allocations: 16.03 kB / 1.514 GB, free: 2.906 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.499, allocations: 0 / 1.514 GB, free: 2.906 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.4992, allocations: 11.98 kB / 1.514 GB, free: 2.895 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.4992, allocations: 15.92 kB / 1.514 GB, free: 2.879 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.4992, allocations: 4 kB / 1.514 GB, free: 2.875 MB / 1.201 GB Notification: Performance of sorting global known variables: time 4.01e-05/0.4993, allocations: 79.28 kB / 1.515 GB, free: 2.797 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.4993, allocations: 4 kB / 1.515 GB, free: 2.793 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001442/0.5007, allocations: 0.566 MB / 1.515 GB, free: 2.227 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.002593/0.5033, allocations: 354.8 kB / 1.515 GB, free: 1.871 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.5035, allocations: 61.92 kB / 1.515 GB, free: 1.812 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.5035, allocations: 4 kB / 1.515 GB, free: 1.809 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 5.482e-05/0.5035, allocations: 23.98 kB / 1.515 GB, free: 1.785 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.5037, allocations: 15.92 kB / 1.516 GB, free: 1.77 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.5043, allocations: 376.1 kB / 1.516 GB, free: 1.371 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.5046, allocations: 0.6923 MB / 1.517 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.5047, allocations: 15.44 kB / 1.517 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of SimCode: time 2.8e-07/0.5047, allocations: 0 / 1.517 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of Templates: time 0.02187/0.5265, allocations: 14.4 MB / 1.531 GB, free: 2.242 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.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.883781601005467]