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.001367/0.001367, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001471/0.001471, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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 3.301/3.301, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] 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.002115/0.002115, allocations: 67.31 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3997, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.165/0.5647, allocations: 119.6 MB / 1.481 GB, free: 5.48 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02978/0.5945, allocations: 20.24 MB / 1.501 GB, free: 1.172 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.5947, allocations: 0 / 1.501 GB, free: 1.172 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.595, allocations: 43.7 kB / 1.501 GB, free: 1.129 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.5954, allocations: 91.41 kB / 1.501 GB, free: 1.039 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01899/0.6144, allocations: 6.955 MB / 1.508 GB, free: 10.1 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.6148, allocations: 255.9 kB / 1.508 GB, free: 9.848 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 5.903e-05/0.6148, allocations: 9.734 kB / 1.508 GB, free: 9.836 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003545/0.6152, allocations: 147.4 kB / 1.508 GB, free: 9.691 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.6154, allocations: 83.66 kB / 1.509 GB, free: 9.609 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.6154, allocations: 8 kB / 1.509 GB, free: 9.602 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02192/0.6373, allocations: 11.12 MB / 1.519 GB, free: 14.47 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.6374, allocations: 35.89 kB / 1.519 GB, free: 14.44 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.6376, allocations: 79.7 kB / 1.52 GB, free: 14.36 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01657/0.6542, allocations: 6.478 MB / 1.526 GB, free: 7.867 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.6542, allocations: 4 kB / 1.526 GB, free: 7.863 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6542, allocations: 0 / 1.526 GB, free: 7.863 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.6542, allocations: 4 kB / 1.526 GB, free: 7.859 MB / 1.217 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.003898/0.6581, allocations: 1.159 MB / 1.527 GB, free: 6.664 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.6581, allocations: 8.031 kB / 1.527 GB, free: 6.656 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.6592, allocations: 88.75 kB / 1.527 GB, free: 6.57 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.6595, allocations: 170.2 kB / 1.527 GB, free: 6.379 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.6596, allocations: 16.12 kB / 1.527 GB, free: 6.363 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.6596, allocations: 16 kB / 1.527 GB, free: 6.348 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.6609, allocations: 0.6736 MB / 1.528 GB, free: 5.605 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.6609, allocations: 4 kB / 1.528 GB, free: 5.602 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.6609, allocations: 7.938 kB / 1.528 GB, free: 5.594 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.6609, allocations: 4 kB / 1.528 GB, free: 5.59 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.6622, allocations: 0.6049 MB / 1.529 GB, free: 4.984 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.6632, allocations: 0.6958 MB / 1.529 GB, free: 4.246 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007829/0.664, allocations: 231 kB / 1.529 GB, free: 4.012 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.6641, allocations: 68.83 kB / 1.53 GB, free: 3.941 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08683/0.751, allocations: 23.37 MB / 1.552 GB, free: 12.53 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.751, allocations: 38.56 kB / 1.552 GB, free: 12.48 MB / 1.248 GB Notification: Performance of pre-optimization done (n=25): time 2.264e-06/0.751, allocations: 0 / 1.552 GB, free: 12.48 MB / 1.248 GB Notification: Performance of matching and sorting (n=25): time 0.001731/0.7527, allocations: 420.7 kB / 1.553 GB, free: 12.07 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.7528, allocations: 55.41 kB / 1.553 GB, free: 12 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.7529, allocations: 127.9 kB / 1.553 GB, free: 11.87 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.753, allocations: 33.7 kB / 1.553 GB, free: 11.83 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.753, allocations: 108.6 kB / 1.553 GB, free: 11.72 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 8.02e-05/0.7531, allocations: 91.22 kB / 1.553 GB, free: 11.63 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.7533, allocations: 77.66 kB / 1.553 GB, free: 11.55 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7534, allocations: 330.8 kB / 1.554 GB, free: 11.22 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.7536, allocations: 79.95 kB / 1.554 GB, free: 11.14 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.7538, allocations: 133.6 kB / 1.554 GB, free: 10.99 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.7543, allocations: 221.6 kB / 1.554 GB, free: 10.76 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7543, allocations: 0 / 1.554 GB, free: 10.76 MB / 1.248 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007499/0.755, allocations: 306.1 kB / 1.554 GB, free: 10.45 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.7551, allocations: 4 kB / 1.554 GB, free: 10.45 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.7551, allocations: 4 kB / 1.554 GB, free: 10.45 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.7551, allocations: 3.938 kB / 1.554 GB, free: 10.44 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.7554, allocations: 79.88 kB / 1.554 GB, free: 10.36 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.7554, allocations: 11.97 kB / 1.554 GB, free: 10.35 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.7555, allocations: 15.89 kB / 1.554 GB, free: 10.34 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.7556, allocations: 31.98 kB / 1.554 GB, free: 10.3 MB / 1.248 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.000142/0.7557, allocations: 133.9 kB / 1.555 GB, free: 10.16 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.7559, allocations: 15.91 kB / 1.555 GB, free: 10.15 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.7586, allocations: 2.482 MB / 1.557 GB, free: 7.656 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.7586, allocations: 11.98 kB / 1.557 GB, free: 7.645 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7586, allocations: 0 / 1.557 GB, free: 7.645 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.7586, allocations: 3.984 kB / 1.557 GB, free: 7.641 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003648/0.7623, allocations: 3.54 MB / 1.56 GB, free: 4.004 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.7623, allocations: 0 / 1.56 GB, free: 4.004 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.7626, allocations: 55.89 kB / 1.561 GB, free: 3.949 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.7626, allocations: 0 / 1.561 GB, free: 3.949 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.7626, allocations: 12 kB / 1.561 GB, free: 3.938 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.7626, allocations: 0 / 1.561 GB, free: 3.938 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7626, allocations: 3.938 kB / 1.561 GB, free: 3.934 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008059/0.7634, allocations: 0.555 MB / 1.561 GB, free: 3.363 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.7635, allocations: 75.5 kB / 1.561 GB, free: 3.289 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.7635, allocations: 4 kB / 1.561 GB, free: 3.285 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.7637, allocations: 12 kB / 1.561 GB, free: 3.273 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.7638, allocations: 19.91 kB / 1.561 GB, free: 3.254 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.7638, allocations: 15.98 kB / 1.561 GB, free: 3.238 MB / 1.248 GB Notification: Performance of sorting global known variables: time 7.176e-05/0.7639, allocations: 98.39 kB / 1.561 GB, free: 3.145 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.7639, allocations: 4 kB / 1.561 GB, free: 3.141 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004464/0.7683, allocations: 1.719 MB / 1.563 GB, free: 1.418 MB / 1.248 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.007579/0.7759, allocations: 1.959 MB / 1.565 GB, free: 15.45 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0007732/0.7767, allocations: 324.5 kB / 1.565 GB, free: 15.12 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.7767, allocations: 0 / 1.565 GB, free: 15.12 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.777, allocations: 192.5 kB / 1.565 GB, free: 14.94 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005096/0.7775, allocations: 57.98 kB / 1.565 GB, free: 14.88 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.7787, allocations: 0.6684 MB / 1.566 GB, free: 14.18 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.7788, allocations: 160.7 kB / 1.566 GB, free: 14 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.779, allocations: 59.28 kB / 1.566 GB, free: 13.95 MB / 1.264 GB Notification: Performance of SimCode: time 4.91e-07/0.779, allocations: 0 / 1.566 GB, free: 13.95 MB / 1.264 GB Notification: Performance of Templates: time 0.0535/0.8325, allocations: 32.88 MB / 1.598 GB, free: 13.02 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: 15.373172073625028]