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.001814/0.001814, allocations: 79.03 kB / 19.76 MB, free: 2.035 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.002164/0.002164, allocations: 156.7 kB / 23.01 MB, free: 4.941 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.511/1.511, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.85/2.85, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 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.002064/0.002064, allocations: 71.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.069, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1694/1.238, allocations: 119.6 MB / 1.303 GB, free: 12.15 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03029/1.269, allocations: 20.23 MB / 1.323 GB, free: 10.01 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/1.269, allocations: 7.938 kB / 1.323 GB, free: 10 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0003424/1.269, allocations: 43.75 kB / 1.323 GB, free: 9.957 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003923/1.27, allocations: 95.36 kB / 1.323 GB, free: 9.863 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.02187/1.291, allocations: 6.939 MB / 1.33 GB, free: 2.941 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004715/1.292, allocations: 259.9 kB / 1.33 GB, free: 2.684 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/1.292, allocations: 9.75 kB / 1.33 GB, free: 2.672 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/1.292, allocations: 151.4 kB / 1.33 GB, free: 2.523 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/1.293, allocations: 79.66 kB / 1.331 GB, free: 2.445 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/1.293, allocations: 15.88 kB / 1.331 GB, free: 2.43 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02418/1.317, allocations: 11.11 MB / 1.341 GB, free: 7.309 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/1.317, allocations: 39.83 kB / 1.341 GB, free: 7.27 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/1.317, allocations: 67.72 kB / 1.342 GB, free: 7.203 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01721/1.334, allocations: 6.482 MB / 1.348 GB, free: 0.707 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/1.334, allocations: 4 kB / 1.348 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.354e-06/1.334, allocations: 0 / 1.348 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.336e-05/1.334, allocations: 0 / 1.348 GB, free: 0.7031 MB / 1.186 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.00429/1.339, allocations: 1.171 MB / 1.349 GB, free: 15.49 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.339, allocations: 12.03 kB / 1.349 GB, free: 15.48 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/1.34, allocations: 84.77 kB / 1.349 GB, free: 15.4 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/1.34, allocations: 174.3 kB / 1.349 GB, free: 15.2 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/1.34, allocations: 16.06 kB / 1.349 GB, free: 15.19 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/1.34, allocations: 19.98 kB / 1.349 GB, free: 15.17 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/1.341, allocations: 0.666 MB / 1.35 GB, free: 14.43 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.341, allocations: 0 / 1.35 GB, free: 14.43 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/1.342, allocations: 12 kB / 1.35 GB, free: 14.42 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/1.342, allocations: 4 kB / 1.35 GB, free: 14.42 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/1.343, allocations: 0.6049 MB / 1.351 GB, free: 13.81 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/1.344, allocations: 0.6997 MB / 1.351 GB, free: 13.07 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008189/1.345, allocations: 230.3 kB / 1.351 GB, free: 12.84 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/1.345, allocations: 68.83 kB / 1.352 GB, free: 12.77 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09/1.435, allocations: 23.37 MB / 1.374 GB, free: 5.348 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/1.435, allocations: 30.56 kB / 1.374 GB, free: 5.309 MB / 1.217 GB Notification: Performance of pre-optimization done (n=25): time 2.936e-06/1.435, allocations: 0 / 1.374 GB, free: 5.309 MB / 1.217 GB Notification: Performance of matching and sorting (n=25): time 0.001929/1.437, allocations: 419.7 kB / 1.375 GB, free: 4.895 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/1.437, allocations: 59.34 kB / 1.375 GB, free: 4.824 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/1.437, allocations: 127.7 kB / 1.375 GB, free: 4.691 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/1.437, allocations: 33.7 kB / 1.375 GB, free: 4.652 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 9.013e-05/1.437, allocations: 112.6 kB / 1.375 GB, free: 4.539 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.737e-05/1.437, allocations: 79.23 kB / 1.375 GB, free: 4.461 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/1.437, allocations: 81.66 kB / 1.375 GB, free: 4.375 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.438, allocations: 326.8 kB / 1.376 GB, free: 4.047 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/1.438, allocations: 79.95 kB / 1.376 GB, free: 3.969 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/1.438, allocations: 134.1 kB / 1.376 GB, free: 3.82 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/1.439, allocations: 233.8 kB / 1.376 GB, free: 3.574 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.439, allocations: 0 / 1.376 GB, free: 3.574 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008563/1.439, allocations: 297.3 kB / 1.376 GB, free: 3.277 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/1.439, allocations: 4 kB / 1.376 GB, free: 3.273 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.439, allocations: 0 / 1.376 GB, free: 3.273 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/1.439, allocations: 8.156 kB / 1.376 GB, free: 3.266 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/1.44, allocations: 79.88 kB / 1.376 GB, free: 3.188 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/1.44, allocations: 4 kB / 1.376 GB, free: 3.184 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/1.44, allocations: 15.89 kB / 1.376 GB, free: 3.168 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/1.44, allocations: 27.92 kB / 1.376 GB, free: 3.141 MB / 1.217 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.0002621/1.44, allocations: 137.7 kB / 1.377 GB, free: 2.996 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/1.441, allocations: 15.91 kB / 1.377 GB, free: 2.98 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/1.444, allocations: 2.492 MB / 1.379 GB, free: 488 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-05/1.444, allocations: 15.97 kB / 1.379 GB, free: 472 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.444, allocations: 4 kB / 1.379 GB, free: 468 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/1.444, allocations: 0 / 1.379 GB, free: 468 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005071/1.449, allocations: 3.533 MB / 1.382 GB, free: 12.83 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/1.449, allocations: 0 / 1.382 GB, free: 12.83 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/1.45, allocations: 55.95 kB / 1.383 GB, free: 12.78 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.066e-06/1.45, allocations: 0 / 1.383 GB, free: 12.78 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/1.45, allocations: 11.98 kB / 1.383 GB, free: 12.77 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/1.45, allocations: 3.938 kB / 1.383 GB, free: 12.76 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.45, allocations: 7.875 kB / 1.383 GB, free: 12.75 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009343/1.451, allocations: 0.5559 MB / 1.383 GB, free: 12.18 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/1.451, allocations: 67.56 kB / 1.383 GB, free: 12.11 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/1.451, allocations: 8 kB / 1.383 GB, free: 12.11 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/1.451, allocations: 15.98 kB / 1.383 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/1.451, allocations: 19.91 kB / 1.383 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/1.451, allocations: 12 kB / 1.383 GB, free: 12.06 MB / 1.232 GB Notification: Performance of sorting global known variables: time 8.668e-05/1.451, allocations: 95.27 kB / 1.383 GB, free: 11.96 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/1.451, allocations: 0 / 1.383 GB, free: 11.96 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.005062/1.456, allocations: 1.715 MB / 1.385 GB, free: 10.25 MB / 1.232 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.008938/1.465, allocations: 1.958 MB / 1.387 GB, free: 8.277 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0007836/1.466, allocations: 320.3 kB / 1.387 GB, free: 7.965 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.466, allocations: 4.25 kB / 1.387 GB, free: 7.961 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003468/1.466, allocations: 201.2 kB / 1.387 GB, free: 7.766 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/1.467, allocations: 51.95 kB / 1.387 GB, free: 7.715 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/1.468, allocations: 0.6515 MB / 1.388 GB, free: 7.039 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/1.468, allocations: 160.7 kB / 1.388 GB, free: 6.859 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006242/1.469, allocations: 404.7 kB / 1.389 GB, free: 6.465 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/1.469, allocations: 48.47 kB / 1.389 GB, free: 6.418 MB / 1.232 GB Notification: Performance of SimCode: time 4e-07/1.469, allocations: 0 / 1.389 GB, free: 6.418 MB / 1.232 GB Notification: Performance of Templates: time 0.1023/1.571, allocations: 59.29 MB / 1.447 GB, free: 11.11 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 -s ida -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.593807901954278]