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.001396/0.001396, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001618/0.001618, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.6/1.6, allocations: 230.6 MB / 256 MB, free: 7.781 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.465/3.465, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002078/0.002078, allocations: 75.48 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4328, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1802/0.613, allocations: 119.6 MB / 1.481 GB, free: 5.48 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0326/0.6456, allocations: 20.23 MB / 1.5 GB, free: 1.184 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.6459, allocations: 0 / 1.5 GB, free: 1.184 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004939/0.6464, allocations: 55.67 kB / 1.5 GB, free: 1.129 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0005026/0.6469, allocations: 87.42 kB / 1.501 GB, free: 1.043 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.02445/0.6713, allocations: 6.954 MB / 1.507 GB, free: 10.11 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0005149/0.6718, allocations: 251.9 kB / 1.508 GB, free: 9.859 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 6.824e-05/0.6719, allocations: 13.69 kB / 1.508 GB, free: 9.844 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000401/0.6723, allocations: 143.4 kB / 1.508 GB, free: 9.703 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.6725, allocations: 91.59 kB / 1.508 GB, free: 9.613 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.6725, allocations: 11.98 kB / 1.508 GB, free: 9.602 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.026/0.6985, allocations: 11.1 MB / 1.519 GB, free: 14.48 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.6987, allocations: 39.89 kB / 1.519 GB, free: 14.45 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.6989, allocations: 75.7 kB / 1.519 GB, free: 14.37 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.02042/0.7193, allocations: 6.49 MB / 1.525 GB, free: 7.867 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.7193, allocations: 4 kB / 1.525 GB, free: 7.863 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7193, allocations: 0 / 1.525 GB, free: 7.863 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.7193, allocations: 0 / 1.525 GB, free: 7.863 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.005223/0.7245, allocations: 1.159 MB / 1.526 GB, free: 6.668 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.7246, allocations: 8.031 kB / 1.526 GB, free: 6.66 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.7258, allocations: 88.75 kB / 1.526 GB, free: 6.574 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.7262, allocations: 166.2 kB / 1.527 GB, free: 6.387 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.7263, allocations: 20.12 kB / 1.527 GB, free: 6.367 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.7263, allocations: 16 kB / 1.527 GB, free: 6.352 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.7277, allocations: 0.6736 MB / 1.527 GB, free: 5.609 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.7277, allocations: 3.938 kB / 1.527 GB, free: 5.605 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.7277, allocations: 8 kB / 1.527 GB, free: 5.598 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.7277, allocations: 4 kB / 1.527 GB, free: 5.594 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.729, allocations: 0.601 MB / 1.528 GB, free: 4.992 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.7302, allocations: 0.6919 MB / 1.528 GB, free: 4.258 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008341/0.731, allocations: 240.1 kB / 1.529 GB, free: 4.016 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.7312, allocations: 68.83 kB / 1.529 GB, free: 3.945 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08954/0.8207, allocations: 23.37 MB / 1.552 GB, free: 12.54 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.176e-05/0.8208, allocations: 38.56 kB / 1.552 GB, free: 12.49 MB / 1.248 GB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.8208, allocations: 4 kB / 1.552 GB, free: 12.48 MB / 1.248 GB Notification: Performance of matching and sorting (n=25): time 0.001797/0.8226, allocations: 422 kB / 1.552 GB, free: 12.07 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.8226, allocations: 51.41 kB / 1.552 GB, free: 12.01 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.8228, allocations: 133.7 kB / 1.552 GB, free: 11.87 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.8228, allocations: 29.7 kB / 1.552 GB, free: 11.83 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.8229, allocations: 112.6 kB / 1.552 GB, free: 11.72 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 8.836e-05/0.823, allocations: 91.2 kB / 1.552 GB, free: 11.63 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.8231, allocations: 77.67 kB / 1.553 GB, free: 11.55 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0003041/0.8234, allocations: 326.8 kB / 1.553 GB, free: 11.22 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.8236, allocations: 79.94 kB / 1.553 GB, free: 11.14 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.8239, allocations: 141.6 kB / 1.553 GB, free: 10.98 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.8244, allocations: 217 kB / 1.553 GB, free: 10.75 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8244, allocations: 0 / 1.553 GB, free: 10.75 MB / 1.248 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007969/0.8252, allocations: 298.2 kB / 1.554 GB, free: 10.46 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.8253, allocations: 8 kB / 1.554 GB, free: 10.45 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8253, allocations: 4.156 kB / 1.554 GB, free: 10.45 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.8253, allocations: 4 kB / 1.554 GB, free: 10.44 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.8256, allocations: 79.88 kB / 1.554 GB, free: 10.36 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.8256, allocations: 4 kB / 1.554 GB, free: 10.36 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.8257, allocations: 15.89 kB / 1.554 GB, free: 10.34 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/0.8258, allocations: 27.97 kB / 1.554 GB, free: 10.32 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.0001671/0.826, allocations: 129.9 kB / 1.554 GB, free: 10.18 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.8262, allocations: 15.91 kB / 1.554 GB, free: 10.16 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002975/0.8292, allocations: 2.486 MB / 1.556 GB, free: 7.664 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.8292, allocations: 15.98 kB / 1.556 GB, free: 7.648 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.8292, allocations: 4 kB / 1.556 GB, free: 7.645 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.8292, allocations: 0 / 1.556 GB, free: 7.645 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/0.8337, allocations: 3.54 MB / 1.56 GB, free: 4.012 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.8337, allocations: 3.938 kB / 1.56 GB, free: 4.008 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.834, allocations: 55.88 kB / 1.56 GB, free: 3.953 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.834, allocations: 4 kB / 1.56 GB, free: 3.949 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.834, allocations: 4 kB / 1.56 GB, free: 3.945 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.834, allocations: 4 kB / 1.56 GB, free: 3.941 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.834, allocations: 3.938 kB / 1.56 GB, free: 3.938 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009918/0.835, allocations: 0.5584 MB / 1.56 GB, free: 3.359 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.8351, allocations: 63.58 kB / 1.56 GB, free: 3.297 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.8352, allocations: 8 kB / 1.56 GB, free: 3.289 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.8354, allocations: 11.98 kB / 1.56 GB, free: 3.277 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/0.8354, allocations: 19.91 kB / 1.56 GB, free: 3.258 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.8355, allocations: 15.98 kB / 1.56 GB, free: 3.242 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0001005/0.8356, allocations: 101.6 kB / 1.561 GB, free: 3.145 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.8356, allocations: 0 / 1.561 GB, free: 3.145 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.005774/0.8413, allocations: 1.711 MB / 1.562 GB, free: 1.43 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.009939/0.8513, allocations: 1.963 MB / 1.564 GB, free: 15.45 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0009403/0.8522, allocations: 329.5 kB / 1.564 GB, free: 15.13 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.8522, allocations: 4 kB / 1.564 GB, free: 15.12 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.8526, allocations: 188.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.0005697/0.8531, allocations: 47.95 kB / 1.565 GB, free: 14.89 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.8545, allocations: 0.6561 MB / 1.565 GB, free: 14.21 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.8547, allocations: 156.7 kB / 1.565 GB, free: 14.04 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0006171/0.8553, allocations: 408.7 kB / 1.566 GB, free: 13.64 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.8554, allocations: 51.39 kB / 1.566 GB, free: 13.59 MB / 1.264 GB Notification: Performance of SimCode: time 5.31e-07/0.8554, allocations: 0 / 1.566 GB, free: 13.59 MB / 1.264 GB Notification: Performance of Templates: time 0.8546/1.71, allocations: 59.53 MB / 1.624 GB, free: 243.2 MB / 1.295 GB " [Timeout remaining time 298] 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/jenkins/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.02569043263793]