Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamProperties.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.001878/0.001878, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002185/0.002185, allocations: 202.1 kB / 22.18 MB, free: 5.207 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.492/1.492, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.842/2.842, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.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_11_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_11_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 79.81 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8408/0.8429, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1716/1.014, allocations: 136.5 MB / 1.407 GB, free: 11.46 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03108/1.046, allocations: 22.81 MB / 1.43 GB, free: 4.57 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/1.046, allocations: 4 kB / 1.43 GB, free: 4.566 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003199/1.046, allocations: 55.66 kB / 1.43 GB, free: 4.512 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003522/1.046, allocations: 91.38 kB / 1.43 GB, free: 4.422 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01862/1.065, allocations: 6.968 MB / 1.437 GB, free: 13.46 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004287/1.065, allocations: 251.9 kB / 1.437 GB, free: 13.22 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/1.065, allocations: 5.562 kB / 1.437 GB, free: 13.21 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/1.066, allocations: 143.4 kB / 1.437 GB, free: 13.07 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/1.066, allocations: 95.64 kB / 1.437 GB, free: 12.98 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/1.066, allocations: 8 kB / 1.437 GB, free: 12.97 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02334/1.089, allocations: 11.67 MB / 1.448 GB, free: 1.293 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/1.089, allocations: 35.83 kB / 1.449 GB, free: 1.258 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/1.09, allocations: 83.66 kB / 1.449 GB, free: 1.176 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.015/1.105, allocations: 6.493 MB / 1.455 GB, free: 10.67 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.105, allocations: 0 / 1.455 GB, free: 10.67 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.455e-06/1.105, allocations: 0 / 1.455 GB, free: 10.67 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.284e-06/1.105, allocations: 0 / 1.455 GB, free: 10.67 MB / 1.154 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.003707/1.108, allocations: 1.238 MB / 1.456 GB, free: 9.375 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.108, allocations: 15.97 kB / 1.456 GB, free: 9.359 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/1.109, allocations: 88.75 kB / 1.456 GB, free: 9.273 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/1.11, allocations: 228.1 kB / 1.456 GB, free: 9.012 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/1.11, allocations: 20.06 kB / 1.456 GB, free: 8.992 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/1.11, allocations: 16 kB / 1.457 GB, free: 8.977 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/1.111, allocations: 448.5 kB / 1.457 GB, free: 8.52 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.111, allocations: 0 / 1.457 GB, free: 8.52 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/1.111, allocations: 8 kB / 1.457 GB, free: 8.512 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/1.111, allocations: 4 kB / 1.457 GB, free: 8.508 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/1.112, allocations: 0.601 MB / 1.458 GB, free: 7.906 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/1.114, allocations: 0.8784 MB / 1.458 GB, free: 6.941 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000846/1.114, allocations: 234.3 kB / 1.459 GB, free: 6.703 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/1.115, allocations: 72.81 kB / 1.459 GB, free: 6.629 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09934/1.214, allocations: 35.42 MB / 1.493 GB, free: 108 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/1.214, allocations: 42.5 kB / 1.493 GB, free: 56 kB / 1.186 GB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/1.214, allocations: 0 / 1.493 GB, free: 56 kB / 1.186 GB Notification: Performance of matching and sorting (n=25): time 0.001983/1.216, allocations: 419.7 kB / 1.494 GB, free: 15.64 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/1.216, allocations: 59.34 kB / 1.494 GB, free: 15.57 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/1.216, allocations: 139.9 kB / 1.494 GB, free: 15.42 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/1.216, allocations: 29.7 kB / 1.494 GB, free: 15.39 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/1.216, allocations: 112.5 kB / 1.494 GB, free: 15.27 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/1.216, allocations: 87.28 kB / 1.494 GB, free: 15.19 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/1.217, allocations: 73.66 kB / 1.494 GB, free: 15.11 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002641/1.217, allocations: 330.8 kB / 1.495 GB, free: 14.78 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/1.217, allocations: 79.95 kB / 1.495 GB, free: 14.7 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/1.217, allocations: 133.1 kB / 1.495 GB, free: 14.55 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/1.218, allocations: 222 kB / 1.495 GB, free: 14.32 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.218, allocations: 0 / 1.495 GB, free: 14.32 MB / 1.201 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007853/1.219, allocations: 297.3 kB / 1.495 GB, free: 14.02 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.219, allocations: 8 kB / 1.495 GB, free: 14.02 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.219, allocations: 0 / 1.495 GB, free: 14.02 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/1.219, allocations: 4 kB / 1.495 GB, free: 14.01 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/1.219, allocations: 79.88 kB / 1.495 GB, free: 13.93 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/1.219, allocations: 7.984 kB / 1.495 GB, free: 13.93 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/1.219, allocations: 31.88 kB / 1.495 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/1.219, allocations: 31.92 kB / 1.495 GB, free: 13.86 MB / 1.201 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.0001664/1.219, allocations: 117.8 kB / 1.495 GB, free: 13.74 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/1.22, allocations: 19.91 kB / 1.495 GB, free: 13.72 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/1.222, allocations: 2.338 MB / 1.498 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.231e-05/1.222, allocations: 11.98 kB / 1.498 GB, free: 11.35 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.222, allocations: 0 / 1.498 GB, free: 11.35 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/1.222, allocations: 7.922 kB / 1.498 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003828/1.226, allocations: 3.431 MB / 1.501 GB, free: 7.805 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.226, allocations: 4 kB / 1.501 GB, free: 7.801 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/1.226, allocations: 55.95 kB / 1.501 GB, free: 7.746 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.226, allocations: 0 / 1.501 GB, free: 7.746 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/1.226, allocations: 11.94 kB / 1.501 GB, free: 7.734 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/1.226, allocations: 3.984 kB / 1.501 GB, free: 7.73 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.226, allocations: 11.86 kB / 1.501 GB, free: 7.719 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000893/1.227, allocations: 0.544 MB / 1.502 GB, free: 7.16 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/1.227, allocations: 144.7 kB / 1.502 GB, free: 7 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/1.228, allocations: 11.94 kB / 1.502 GB, free: 6.988 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/1.228, allocations: 11.98 kB / 1.502 GB, free: 6.977 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/1.228, allocations: 15.98 kB / 1.502 GB, free: 6.961 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/1.228, allocations: 19.98 kB / 1.502 GB, free: 6.941 MB / 1.201 GB Notification: Performance of sorting global known variables: time 8.777e-05/1.228, allocations: 103.3 kB / 1.502 GB, free: 6.84 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.228, allocations: 0 / 1.502 GB, free: 6.84 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.005139/1.233, allocations: 1.703 MB / 1.504 GB, free: 5.133 MB / 1.201 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.008554/1.242, allocations: 1.948 MB / 1.506 GB, free: 3.172 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000792/1.242, allocations: 320.3 kB / 1.506 GB, free: 2.859 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/1.242, allocations: 3.984 kB / 1.506 GB, free: 2.855 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003026/1.243, allocations: 193.1 kB / 1.506 GB, free: 2.668 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/1.243, allocations: 62.3 kB / 1.506 GB, free: 2.609 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/1.244, allocations: 0.6417 MB / 1.507 GB, free: 1.945 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/1.245, allocations: 0.7661 MB / 1.508 GB, free: 1.156 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006025/1.245, allocations: 412.9 kB / 1.508 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/1.246, allocations: 47.41 kB / 1.508 GB, free: 0.707 MB / 1.201 GB Notification: Performance of SimCode: time 2.81e-07/1.246, allocations: 0 / 1.508 GB, free: 0.707 MB / 1.201 GB Notification: Performance of Templates: time 0.08585/1.331, allocations: 59.63 MB / 1.566 GB, free: 5.039 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_11_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.125919713173062]