Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002059/0.002059, allocations: 110.2 kB / 16.46 MB, free: 6.508 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.002841/0.002841, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.544/1.544, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.277/3.277, allocations: 0.4899 GB / 0.7915 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002194/0.002194, allocations: 69.75 kB / 1.149 GB, free: 26.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4029, allocations: 176.1 MB / 1.321 GB, free: 2.793 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1914/0.5943, allocations: 139.4 MB / 1.457 GB, free: 6.895 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03197/0.6263, allocations: 22.8 MB / 1.48 GB, free: 20 kB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.6265, allocations: 0 / 1.48 GB, free: 20 kB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004411/0.6269, allocations: 55.61 kB / 1.48 GB, free: 15.96 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.6273, allocations: 95.41 kB / 1.48 GB, free: 15.87 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.02174/0.6491, allocations: 6.979 MB / 1.487 GB, free: 8.902 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004907/0.6496, allocations: 255.9 kB / 1.487 GB, free: 8.652 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 5.582e-05/0.6496, allocations: 5.562 kB / 1.487 GB, free: 8.648 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.65, allocations: 143.5 kB / 1.487 GB, free: 8.508 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.6502, allocations: 95.59 kB / 1.487 GB, free: 8.414 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.6502, allocations: 8 kB / 1.487 GB, free: 8.406 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02515/0.6753, allocations: 11.68 MB / 1.498 GB, free: 12.72 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.6755, allocations: 39.84 kB / 1.498 GB, free: 12.68 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.6757, allocations: 83.64 kB / 1.499 GB, free: 12.6 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01818/0.6939, allocations: 6.505 MB / 1.505 GB, free: 6.078 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6939, allocations: 4 kB / 1.505 GB, free: 6.074 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6939, allocations: 0 / 1.505 GB, free: 6.074 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.6939, allocations: 0 / 1.505 GB, free: 6.074 MB / 1.201 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.004272/0.6981, allocations: 1.242 MB / 1.506 GB, free: 4.777 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.6982, allocations: 11.98 kB / 1.506 GB, free: 4.766 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.6993, allocations: 84.77 kB / 1.506 GB, free: 4.684 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.6997, allocations: 232.1 kB / 1.506 GB, free: 4.418 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.6997, allocations: 16.12 kB / 1.506 GB, free: 4.402 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.6998, allocations: 16 kB / 1.506 GB, free: 4.387 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.701, allocations: 461.8 kB / 1.507 GB, free: 3.918 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.701, allocations: 0 / 1.507 GB, free: 3.918 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.7011, allocations: 12 kB / 1.507 GB, free: 3.906 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.7011, allocations: 4 kB / 1.507 GB, free: 3.902 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.7024, allocations: 0.597 MB / 1.508 GB, free: 3.305 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.7037, allocations: 0.8746 MB / 1.508 GB, free: 2.344 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008894/0.7046, allocations: 230.4 kB / 1.509 GB, free: 2.109 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.7048, allocations: 72.83 kB / 1.509 GB, free: 2.035 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1006/0.8054, allocations: 36.53 MB / 1.544 GB, free: 10.19 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.8054, allocations: 34.56 kB / 1.544 GB, free: 10.15 MB / 1.248 GB Notification: Performance of pre-optimization done (n=25): time 2.304e-06/0.8054, allocations: 4 kB / 1.544 GB, free: 10.14 MB / 1.248 GB Notification: Performance of matching and sorting (n=25): time 0.002068/0.8075, allocations: 413.1 kB / 1.545 GB, free: 9.738 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.8076, allocations: 55.41 kB / 1.545 GB, free: 9.672 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.8077, allocations: 144 kB / 1.545 GB, free: 9.523 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.745e-05/0.8078, allocations: 29.7 kB / 1.545 GB, free: 9.488 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.8079, allocations: 116.5 kB / 1.545 GB, free: 9.367 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.808, allocations: 91.2 kB / 1.545 GB, free: 9.277 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.8082, allocations: 81.66 kB / 1.545 GB, free: 9.191 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.8084, allocations: 326.8 kB / 1.546 GB, free: 8.863 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.8086, allocations: 83.89 kB / 1.546 GB, free: 8.781 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.8089, allocations: 129.1 kB / 1.546 GB, free: 8.637 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.8094, allocations: 219 kB / 1.546 GB, free: 8.406 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.8094, allocations: 0 / 1.546 GB, free: 8.406 MB / 1.248 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008741/0.8103, allocations: 301.3 kB / 1.546 GB, free: 8.105 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.8103, allocations: 8 kB / 1.546 GB, free: 8.098 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.8103, allocations: 0 / 1.546 GB, free: 8.098 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.8103, allocations: 4 kB / 1.546 GB, free: 8.094 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.8106, allocations: 83.88 kB / 1.546 GB, free: 8.012 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.8106, allocations: 4 kB / 1.546 GB, free: 8.008 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.8108, allocations: 23.77 kB / 1.546 GB, free: 7.984 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.446e-05/0.8109, allocations: 23.97 kB / 1.546 GB, free: 7.961 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.0001511/0.811, allocations: 129.9 kB / 1.547 GB, free: 7.824 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.8112, allocations: 23.91 kB / 1.547 GB, free: 7.801 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/0.814, allocations: 2.343 MB / 1.549 GB, free: 5.438 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.814, allocations: 11.98 kB / 1.549 GB, free: 5.426 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.814, allocations: 0 / 1.549 GB, free: 5.426 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.814, allocations: 11.92 kB / 1.549 GB, free: 5.414 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003876/0.8179, allocations: 3.427 MB / 1.552 GB, free: 1.875 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.8179, allocations: 3.938 kB / 1.552 GB, free: 1.871 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.8182, allocations: 55.95 kB / 1.552 GB, free: 1.816 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.8182, allocations: 0 / 1.552 GB, free: 1.816 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.8182, allocations: 11.94 kB / 1.552 GB, free: 1.805 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.8182, allocations: 0 / 1.552 GB, free: 1.805 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8182, allocations: 0 / 1.552 GB, free: 1.805 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009173/0.8191, allocations: 0.5506 MB / 1.553 GB, free: 1.238 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.8193, allocations: 140.7 kB / 1.553 GB, free: 1.082 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.8193, allocations: 7.938 kB / 1.553 GB, free: 1.074 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.8196, allocations: 16 kB / 1.553 GB, free: 1.059 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.8196, allocations: 19.91 kB / 1.553 GB, free: 1.039 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.8197, allocations: 15.98 kB / 1.553 GB, free: 1.023 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0001075/0.8198, allocations: 103.3 kB / 1.553 GB, free: 0.9219 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.8198, allocations: 0 / 1.553 GB, free: 0.9219 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.005844/0.8256, allocations: 1.715 MB / 1.555 GB, free: 15.2 MB / 1.264 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.01175/0.8374, allocations: 1.965 MB / 1.557 GB, free: 13.23 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.000966/0.8383, allocations: 307.3 kB / 1.557 GB, free: 12.93 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.8383, allocations: 4.312 kB / 1.557 GB, free: 12.93 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003876/0.8387, allocations: 200.4 kB / 1.557 GB, free: 12.73 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.8394, allocations: 59.94 kB / 1.557 GB, free: 12.67 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.8407, allocations: 0.6378 MB / 1.558 GB, free: 12.01 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.8412, allocations: 0.77 MB / 1.559 GB, free: 11.22 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0006478/0.8418, allocations: 416.9 kB / 1.559 GB, free: 10.81 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.842, allocations: 43.41 kB / 1.559 GB, free: 10.77 MB / 1.264 GB Notification: Performance of SimCode: time 6.91e-07/0.842, allocations: 0 / 1.559 GB, free: 10.77 MB / 1.264 GB Notification: Performance of Templates: time 0.8955/1.737, allocations: 59.54 MB / 1.617 GB, free: 275.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_12_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.821665124036372]