Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamProperties.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.001469/0.001469, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001561/0.001561, allocations: 217.1 kB / 23.01 MB, free: 4.602 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.336/1.336, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.975/2.975, allocations: 0.505 GB / 0.8108 GB, free: 22.09 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.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamProperties") [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.001869/0.001869, allocations: 69.23 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2923, allocations: 180.2 MB / 1.354 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1525/0.4448, allocations: 139.4 MB / 1.49 GB, free: 11.98 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02743/0.4723, allocations: 22.88 MB / 1.513 GB, free: 5.027 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.4724, allocations: 4 kB / 1.513 GB, free: 5.023 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.4727, allocations: 51.67 kB / 1.513 GB, free: 4.973 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.4729, allocations: 95.3 kB / 1.513 GB, free: 4.879 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.01524/0.4882, allocations: 6.99 MB / 1.52 GB, free: 13.9 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.4885, allocations: 255.9 kB / 1.52 GB, free: 13.65 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.4886, allocations: 17.73 kB / 1.52 GB, free: 13.64 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.4889, allocations: 143.4 kB / 1.52 GB, free: 13.5 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.489, allocations: 91.66 kB / 1.52 GB, free: 13.41 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.4891, allocations: 8 kB / 1.52 GB, free: 13.4 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02044/0.5095, allocations: 11.69 MB / 1.531 GB, free: 1.691 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 9.95e-05/0.5096, allocations: 39.84 kB / 1.531 GB, free: 1.652 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.5097, allocations: 83.64 kB / 1.532 GB, free: 1.57 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.523, allocations: 6.509 MB / 1.538 GB, free: 11.05 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.523, allocations: 3.938 kB / 1.538 GB, free: 11.04 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.633e-06/0.523, allocations: 0 / 1.538 GB, free: 11.04 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.523, allocations: 7.938 kB / 1.538 GB, free: 11.04 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003047/0.5261, allocations: 1.163 MB / 1.539 GB, free: 9.836 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.5261, allocations: 12.03 kB / 1.539 GB, free: 9.824 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009805/0.5271, allocations: 88.75 kB / 1.539 GB, free: 9.738 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.5274, allocations: 174.2 kB / 1.539 GB, free: 9.543 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.5274, allocations: 12.12 kB / 1.539 GB, free: 9.531 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.5274, allocations: 16 kB / 1.539 GB, free: 9.516 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.5285, allocations: 484.1 kB / 1.54 GB, free: 9.023 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5285, allocations: 3.938 kB / 1.54 GB, free: 9.02 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.5286, allocations: 8 kB / 1.54 GB, free: 9.012 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5286, allocations: 4 kB / 1.54 GB, free: 9.008 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.5298, allocations: 0.6166 MB / 1.54 GB, free: 8.391 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.5308, allocations: 0.854 MB / 1.541 GB, free: 7.457 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/0.5315, allocations: 239 kB / 1.541 GB, free: 7.215 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.5317, allocations: 64.83 kB / 1.542 GB, free: 7.148 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.079/0.6107, allocations: 23.3 MB / 1.564 GB, free: 15.8 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.6107, allocations: 38.56 kB / 1.564 GB, free: 15.75 MB / 1.264 GB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.6107, allocations: 0 / 1.564 GB, free: 15.75 MB / 1.264 GB Notification: Performance of matching and sorting (n=25): time 0.001636/0.6123, allocations: 421.3 kB / 1.565 GB, free: 15.34 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.6124, allocations: 55.41 kB / 1.565 GB, free: 15.27 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.6125, allocations: 136.3 kB / 1.565 GB, free: 15.13 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.6125, allocations: 33.7 kB / 1.565 GB, free: 15.09 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.6126, allocations: 112.4 kB / 1.565 GB, free: 14.98 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 7.515e-05/0.6127, allocations: 91.22 kB / 1.565 GB, free: 14.89 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.6128, allocations: 77.66 kB / 1.565 GB, free: 14.8 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.6129, allocations: 334.7 kB / 1.566 GB, free: 14.47 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.6131, allocations: 79.95 kB / 1.566 GB, free: 14.39 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.6133, allocations: 125.1 kB / 1.566 GB, free: 14.25 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.6137, allocations: 221 kB / 1.566 GB, free: 14.02 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6137, allocations: 0 / 1.566 GB, free: 14.02 MB / 1.264 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007172/0.6144, allocations: 298.1 kB / 1.566 GB, free: 13.72 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.6145, allocations: 8 kB / 1.566 GB, free: 13.71 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.6145, allocations: 4.141 kB / 1.566 GB, free: 13.71 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.6145, allocations: 11.98 kB / 1.566 GB, free: 13.7 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.6148, allocations: 79.89 kB / 1.566 GB, free: 13.62 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.6148, allocations: 7.984 kB / 1.566 GB, free: 13.61 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.6149, allocations: 23.78 kB / 1.566 GB, free: 13.59 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.615, allocations: 23.98 kB / 1.566 GB, free: 13.56 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001306/0.6151, allocations: 125.7 kB / 1.566 GB, free: 13.43 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.6153, allocations: 23.84 kB / 1.567 GB, free: 13.41 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.6178, allocations: 2.483 MB / 1.569 GB, free: 10.91 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.6178, allocations: 11.98 kB / 1.569 GB, free: 10.9 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.6178, allocations: 0 / 1.569 GB, free: 10.9 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.6178, allocations: 7.922 kB / 1.569 GB, free: 10.89 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/0.6212, allocations: 3.611 MB / 1.572 GB, free: 7.176 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.6212, allocations: 0 / 1.572 GB, free: 7.176 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.6215, allocations: 51.89 kB / 1.573 GB, free: 7.125 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.6215, allocations: 4 kB / 1.573 GB, free: 7.121 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.6215, allocations: 11.94 kB / 1.573 GB, free: 7.109 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6215, allocations: 0 / 1.573 GB, free: 7.109 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6215, allocations: 8 kB / 1.573 GB, free: 7.102 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007574/0.6223, allocations: 0.5545 MB / 1.573 GB, free: 6.531 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.6224, allocations: 67.56 kB / 1.573 GB, free: 6.465 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.6224, allocations: 11.94 kB / 1.573 GB, free: 6.453 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.6226, allocations: 8 kB / 1.573 GB, free: 6.445 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.6226, allocations: 19.95 kB / 1.573 GB, free: 6.426 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.6227, allocations: 12 kB / 1.573 GB, free: 6.414 MB / 1.264 GB Notification: Performance of sorting global known variables: time 7.329e-05/0.6227, allocations: 111.2 kB / 1.573 GB, free: 6.305 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6227, allocations: 7.875 kB / 1.573 GB, free: 6.297 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00379/0.6265, allocations: 1.715 MB / 1.575 GB, free: 4.578 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.005867/0.6324, allocations: 1.963 MB / 1.577 GB, free: 2.605 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0005678/0.633, allocations: 316.3 kB / 1.577 GB, free: 2.297 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.633, allocations: 0 / 1.577 GB, free: 2.297 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.6332, allocations: 197.2 kB / 1.577 GB, free: 2.102 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.6337, allocations: 60.2 kB / 1.577 GB, free: 2.043 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.6347, allocations: 0.6961 MB / 1.578 GB, free: 1.32 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.6351, allocations: 0.766 MB / 1.579 GB, free: 0.5312 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.6352, allocations: 47.41 kB / 1.579 GB, free: 496 kB / 1.264 GB Notification: Performance of SimCode: time 3.1e-07/0.6352, allocations: 0 / 1.579 GB, free: 496 kB / 1.264 GB Notification: Performance of Templates: time 0.555/1.19, allocations: 32.97 MB / 1.611 GB, free: 251.6 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_latest_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamProperties.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: 13.579816823999863]