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.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.00183/0.00183, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.002509/0.002509, allocations: 165.5 kB / 22.46 MB, free: 5.375 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.521/1.521, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.775/2.775, allocations: 359 MB / 0.6037 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 1.693e-06/1.693e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.13e-05, allocations: 2.281 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.178/0.178, allocations: 119.6 MB / 1.068 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03314/0.2111, allocations: 20.25 MB / 1.088 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.2113, allocations: 4 kB / 1.088 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.2117, allocations: 47.62 kB / 1.088 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.2122, allocations: 95.3 kB / 1.088 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02256/0.2347, allocations: 7.012 MB / 1.095 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005407/0.2353, allocations: 255.8 kB / 1.095 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.2353, allocations: 13.8 kB / 1.095 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005008/0.2358, allocations: 179.4 kB / 1.095 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.236, allocations: 75.77 kB / 1.095 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.2361, allocations: 8 kB / 1.095 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6749/0.911, allocations: 11.13 MB / 1.106 GB, free: 19.17 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.9111, allocations: 39.56 kB / 1.106 GB, free: 19.17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.9114, allocations: 64.77 kB / 1.106 GB, free: 19.17 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02552/0.9369, allocations: 8.36 MB / 1.114 GB, free: 19.1 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.9369, allocations: 2.312 kB / 1.114 GB, free: 19.1 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9369, allocations: 0 / 1.114 GB, free: 19.1 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.9369, allocations: 2.375 kB / 1.114 GB, free: 19.1 MB / 0.9981 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.00852/0.9454, allocations: 1.166 MB / 1.115 GB, free: 18.39 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.9455, allocations: 11.03 kB / 1.115 GB, free: 18.39 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.9467, allocations: 86.69 kB / 1.115 GB, free: 18.38 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.947, allocations: 166.8 kB / 1.116 GB, free: 18.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.9471, allocations: 10.06 kB / 1.116 GB, free: 18.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.9471, allocations: 17.66 kB / 1.116 GB, free: 18.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.9485, allocations: 0.6625 MB / 1.116 GB, free: 17.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.9485, allocations: 9.766 kB / 1.116 GB, free: 17.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.9486, allocations: 13.11 kB / 1.116 GB, free: 17.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.9486, allocations: 5.578 kB / 1.116 GB, free: 17.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.9501, allocations: 0.6065 MB / 1.117 GB, free: 17.93 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.9511, allocations: 0.7013 MB / 1.118 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009169/0.9521, allocations: 235.7 kB / 1.118 GB, free: 17.44 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.9522, allocations: 65.81 kB / 1.118 GB, free: 17.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09764/1.05, allocations: 23.36 MB / 1.141 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/1.05, allocations: 40.25 kB / 1.141 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/1.05, allocations: 0 / 1.141 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001967/1.052, allocations: 421.2 kB / 1.141 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/1.052, allocations: 54.28 kB / 1.141 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/1.052, allocations: 123.1 kB / 1.141 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/1.052, allocations: 30.52 kB / 1.141 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/1.052, allocations: 115.5 kB / 1.141 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/1.052, allocations: 87.8 kB / 1.142 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/1.052, allocations: 82.02 kB / 1.142 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.21e-05/1.052, allocations: 320.2 kB / 1.142 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/1.053, allocations: 82.52 kB / 1.142 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/1.053, allocations: 136.4 kB / 1.142 GB, free: 15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/1.053, allocations: 223.8 kB / 1.142 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.053, allocations: 1.094 kB / 1.142 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008848/1.054, allocations: 295.5 kB / 1.143 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.054, allocations: 10.25 kB / 1.143 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.054, allocations: 1.531 kB / 1.143 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/1.054, allocations: 2.125 kB / 1.143 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/1.055, allocations: 80.8 kB / 1.143 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.055, allocations: 3.406 kB / 1.143 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/1.055, allocations: 24.59 kB / 1.143 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/1.055, allocations: 33.59 kB / 1.143 GB, free: 14.88 MB / 0.9981 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.0001352/1.055, allocations: 126.1 kB / 1.143 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/1.055, allocations: 16.2 kB / 1.143 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/1.058, allocations: 2.496 MB / 1.145 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/1.058, allocations: 10.94 kB / 1.145 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.058, allocations: 0 / 1.145 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/1.058, allocations: 2.953 kB / 1.145 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/1.061, allocations: 3.535 MB / 1.149 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.061, allocations: 6.812 kB / 1.149 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/1.061, allocations: 52.55 kB / 1.149 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/1.061, allocations: 6.234 kB / 1.149 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/1.061, allocations: 11.52 kB / 1.149 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.061, allocations: 0 / 1.149 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.061, allocations: 2 kB / 1.149 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007694/1.062, allocations: 0.5539 MB / 1.149 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/1.062, allocations: 65.36 kB / 1.149 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/1.062, allocations: 3.25 kB / 1.149 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/1.062, allocations: 14.69 kB / 1.149 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/1.062, allocations: 20.92 kB / 1.15 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/1.062, allocations: 18.12 kB / 1.15 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.988e-05/1.062, allocations: 96.16 kB / 1.15 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.062, allocations: 1.094 kB / 1.15 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008937/1.071, allocations: 1.721 MB / 1.151 GB, free: 13.64 MB / 0.9981 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.016/1.087, allocations: 2.206 MB / 1.153 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007453/1.088, allocations: 318.9 kB / 1.154 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.088, allocations: 0 / 1.154 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002888/1.088, allocations: 193.1 kB / 1.154 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/1.089, allocations: 52.77 kB / 1.154 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/1.09, allocations: 0.613 MB / 1.155 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/1.09, allocations: 154.5 kB / 1.155 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004659/1.09, allocations: 401.1 kB / 1.155 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/1.09, allocations: 50.36 kB / 1.155 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.09, allocations: 0 / 1.155 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of Templates: time 0.08367/1.174, allocations: 59.51 MB / 1.213 GB, free: 9.992 MB / 1.029 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.375797241926193]