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.001903/0.001903, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002011/0.002011, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.559/1.559, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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.904/2.904, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 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.493e-06/1.493e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/2.985e-05, allocations: 3.969 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.193/0.1931, allocations: 131.6 MB / 0.9149 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.03479/0.2279, allocations: 22.26 MB / 0.9366 GB, free: 2.473 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.228, allocations: 0 / 0.9366 GB, free: 2.473 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.2284, allocations: 39.75 kB / 0.9366 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.2287, allocations: 103.2 kB / 0.9367 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.01912/0.2479, allocations: 6.993 MB / 0.9436 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0004967/0.2484, allocations: 263.7 kB / 0.9438 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.835e-05/0.2484, allocations: 13.8 kB / 0.9438 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004633/0.2489, allocations: 187.3 kB / 0.944 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.2491, allocations: 75.77 kB / 0.9441 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.2491, allocations: 16 kB / 0.9441 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02531/0.2744, allocations: 11.13 MB / 0.955 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.2745, allocations: 35.89 kB / 0.955 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.2747, allocations: 67.83 kB / 0.9551 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.02086/0.2956, allocations: 8.368 MB / 0.9632 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2956, allocations: 0 / 0.9632 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2956, allocations: 0 / 0.9632 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2956, allocations: 0 / 0.9632 GB, free: 7.141 MB / 0.9167 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.004232/0.2998, allocations: 1.266 MB / 0.9645 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.2999, allocations: 12.03 kB / 0.9645 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.3011, allocations: 148.3 kB / 0.9646 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.3013, allocations: 176.3 kB / 0.9648 GB, free: 5.477 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3014, allocations: 8.375 kB / 0.9648 GB, free: 5.469 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.3014, allocations: 20.38 kB / 0.9648 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.3027, allocations: 0.5954 MB / 0.9654 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.3027, allocations: 3.938 kB / 0.9654 GB, free: 4.777 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.3028, allocations: 4 kB / 0.9654 GB, free: 4.773 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3028, allocations: 4 kB / 0.9654 GB, free: 4.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.3041, allocations: 0.5034 MB / 0.9659 GB, free: 4.266 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.3053, allocations: 0.8904 MB / 0.9668 GB, free: 3.324 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008975/0.3062, allocations: 257.9 kB / 0.967 GB, free: 3.059 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.3063, allocations: 67.66 kB / 0.9671 GB, free: 2.988 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09667/0.403, allocations: 23.55 MB / 0.9901 GB, free: 11.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.4031, allocations: 37.39 kB / 0.9901 GB, free: 11.34 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.4031, allocations: 0 / 0.9901 GB, free: 11.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.002313/0.4054, allocations: 479.2 kB / 0.9906 GB, free: 10.87 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.4054, allocations: 51.41 kB / 0.9906 GB, free: 10.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.4056, allocations: 196.3 kB / 0.9908 GB, free: 10.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.4057, allocations: 37.7 kB / 0.9908 GB, free: 10.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.4058, allocations: 155.3 kB / 0.991 GB, free: 10.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.962e-05/0.4059, allocations: 87.22 kB / 0.9911 GB, free: 10.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.4061, allocations: 83.33 kB / 0.9912 GB, free: 10.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002862/0.4063, allocations: 0.4923 MB / 0.9916 GB, free: 9.719 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.4066, allocations: 91.94 kB / 0.9917 GB, free: 9.629 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.4069, allocations: 150.1 kB / 0.9919 GB, free: 9.457 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/0.4074, allocations: 251.7 kB / 0.9921 GB, free: 9.188 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.4074, allocations: 3.938 kB / 0.9921 GB, free: 9.184 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009552/0.4084, allocations: 347 kB / 0.9924 GB, free: 8.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4084, allocations: 4 kB / 0.9924 GB, free: 8.836 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4084, allocations: 4 kB / 0.9925 GB, free: 8.832 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.4084, allocations: 4 kB / 0.9925 GB, free: 8.828 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.4088, allocations: 79.88 kB / 0.9925 GB, free: 8.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4088, allocations: 0 / 0.9925 GB, free: 8.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.409, allocations: 24.05 kB / 0.9926 GB, free: 8.727 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.409, allocations: 23.98 kB / 0.9926 GB, free: 8.703 MB / 0.948 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.0001933/0.4092, allocations: 180.4 kB / 0.9927 GB, free: 8.516 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/0.4095, allocations: 43.66 kB / 0.9928 GB, free: 8.473 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.4117, allocations: 1.528 MB / 0.9943 GB, free: 6.941 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.4117, allocations: 11.98 kB / 0.9943 GB, free: 6.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4117, allocations: 7.938 kB / 0.9943 GB, free: 6.922 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4117, allocations: 0 / 0.9943 GB, free: 6.922 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.4146, allocations: 2.147 MB / 0.9964 GB, free: 4.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4147, allocations: 7.938 kB / 0.9964 GB, free: 4.672 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.4149, allocations: 55.88 kB / 0.9965 GB, free: 4.617 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.415, allocations: 4 kB / 0.9965 GB, free: 4.613 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.415, allocations: 4 kB / 0.9965 GB, free: 4.609 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.415, allocations: 4 kB / 0.9965 GB, free: 4.605 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.415, allocations: 0 / 0.9965 GB, free: 4.605 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009828/0.416, allocations: 0.563 MB / 0.997 GB, free: 4.023 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.4161, allocations: 59.62 kB / 0.9971 GB, free: 3.965 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.4161, allocations: 8 kB / 0.9971 GB, free: 3.957 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.4163, allocations: 8 kB / 0.9971 GB, free: 3.949 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.4164, allocations: 23.97 kB / 0.9971 GB, free: 3.926 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.4164, allocations: 15.98 kB / 0.9971 GB, free: 3.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001338/0.4166, allocations: 143.2 kB / 0.9973 GB, free: 3.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.4166, allocations: 0 / 0.9973 GB, free: 3.77 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00497/0.4215, allocations: 1.719 MB / 0.9989 GB, free: 2.047 MB / 0.948 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.009441/0.431, allocations: 2.213 MB / 1.001 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0008226/0.4318, allocations: 284.8 kB / 1.001 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4318, allocations: 0 / 1.001 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.4321, allocations: 181.4 kB / 1.002 GB, free: 15.35 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007805/0.4329, allocations: 106.5 kB / 1.002 GB, free: 15.25 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.4341, allocations: 0.5665 MB / 1.002 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.4343, allocations: 156.7 kB / 1.002 GB, free: 14.48 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0006717/0.435, allocations: 400.7 kB / 1.003 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.4351, allocations: 48.42 kB / 1.003 GB, free: 14.04 MB / 0.9636 GB Notification: Performance of SimCode: time 1.012e-06/0.4351, allocations: 0 / 1.003 GB, free: 14.04 MB / 0.9636 GB Notification: Performance of Templates: time 0.4646/0.8998, allocations: 61.66 MB / 1.063 GB, free: 299 MB / 0.9948 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] 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: 12.692110663978383]