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.0007552/0.0007552, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.001841, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006996/0.0006996, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009505/0.00165, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.003/1.003, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0844/1.087, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.392/2.392, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2662/2.659, allocations: 146 MB / 0.8176 GB, free: 3.816 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|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.[0-9,]+.|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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.931e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1423/0.1424, allocations: 131.8 MB / 0.9476 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02561/0.168, allocations: 22.38 MB / 0.9695 GB, free: 7.715 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.1682, allocations: 3.938 kB / 0.9695 GB, free: 7.711 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1685, allocations: 51.62 kB / 0.9695 GB, free: 7.66 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.1689, allocations: 91.34 kB / 0.9696 GB, free: 7.57 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01423/0.1831, allocations: 6.262 MB / 0.9757 GB, free: 1.285 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.1834, allocations: 267.7 kB / 0.976 GB, free: 1.023 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.1835, allocations: 6.469 kB / 0.976 GB, free: 1.02 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.1838, allocations: 187.4 kB / 0.9762 GB, free: 0.8359 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1839, allocations: 71.78 kB / 0.9762 GB, free: 0.7656 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1839, allocations: 8 kB / 0.9763 GB, free: 0.7578 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01738/0.2013, allocations: 11.99 MB / 0.988 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.2015, allocations: 31.86 kB / 0.988 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.2016, allocations: 51.94 kB / 0.988 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.01536/0.2169, allocations: 6.219 MB / 0.9941 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.549e-05/0.217, allocations: 0 / 0.9941 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.094e-06/0.217, allocations: 0 / 0.9941 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.217, allocations: 0 / 0.9941 GB, free: 14.44 MB / 0.9792 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.00391/0.2209, allocations: 1.654 MB / 0.9957 GB, free: 12.74 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2209, allocations: 8.031 kB / 0.9957 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007153/0.2216, allocations: 164.2 kB / 0.9959 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.2219, allocations: 157.6 kB / 0.996 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.2219, allocations: 20.38 kB / 0.9961 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.2219, allocations: 16.38 kB / 0.9961 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/0.2227, allocations: 0.6074 MB / 0.9967 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2227, allocations: 0 / 0.9967 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.2227, allocations: 8 kB / 0.9967 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2227, allocations: 4 kB / 0.9967 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.2232, allocations: 398.1 kB / 0.9971 GB, free: 11.28 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007599/0.224, allocations: 0.6229 MB / 0.9977 GB, free: 10.62 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.2244, allocations: 226.3 kB / 0.9979 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.2245, allocations: 40.83 kB / 0.9979 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04415/0.2686, allocations: 24.77 MB / 1.022 GB, free: 1.539 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.2687, allocations: 42.55 kB / 1.022 GB, free: 1.488 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.2687, allocations: 0 / 1.022 GB, free: 1.488 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25): time 0.0008908/0.2696, allocations: 391.5 kB / 1.023 GB, free: 1.102 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.2696, allocations: 59.41 kB / 1.023 GB, free: 1.031 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.133e-05/0.2696, allocations: 126.7 kB / 1.023 GB, free: 0.8945 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.2697, allocations: 29.7 kB / 1.023 GB, free: 0.8594 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.2697, allocations: 108.5 kB / 1.023 GB, free: 0.75 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.2698, allocations: 95.19 kB / 1.023 GB, free: 0.6562 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.2698, allocations: 65.64 kB / 1.023 GB, free: 0.5859 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.2699, allocations: 326.8 kB / 1.023 GB, free: 264 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/0.27, allocations: 59.94 kB / 1.023 GB, free: 204 kB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.823e-05/0.2701, allocations: 113 kB / 1.023 GB, free: 72 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.2703, allocations: 206.7 kB / 1.024 GB, free: 15.85 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2703, allocations: 0 / 1.024 GB, free: 15.85 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00258/0.2729, allocations: 233 kB / 1.024 GB, free: 15.62 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.2729, allocations: 11.94 kB / 1.024 GB, free: 15.61 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2729, allocations: 0 / 1.024 GB, free: 15.61 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2729, allocations: 4.156 kB / 1.024 GB, free: 15.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.2731, allocations: 95.89 kB / 1.024 GB, free: 15.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2731, allocations: 7.938 kB / 1.024 GB, free: 15.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.863e-05/0.2732, allocations: 19.83 kB / 1.024 GB, free: 15.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.2732, allocations: 23.97 kB / 1.024 GB, free: 15.46 MB / 1.01 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.0001275/0.2734, allocations: 124.6 kB / 1.024 GB, free: 15.32 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.2735, allocations: 43.62 kB / 1.024 GB, free: 15.28 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.2745, allocations: 1.35 MB / 1.026 GB, free: 13.92 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.2745, allocations: 15.97 kB / 1.026 GB, free: 13.91 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.2745, allocations: 8 kB / 1.026 GB, free: 13.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.2745, allocations: 0 / 1.026 GB, free: 13.9 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.2758, allocations: 1.746 MB / 1.027 GB, free: 12.12 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.2758, allocations: 0 / 1.027 GB, free: 12.12 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.276, allocations: 67.88 kB / 1.027 GB, free: 12.06 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.276, allocations: 47.67 kB / 1.027 GB, free: 12.01 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.276, allocations: 4 kB / 1.027 GB, free: 12.01 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.276, allocations: 7.984 kB / 1.027 GB, free: 12 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.276, allocations: 4 kB / 1.027 GB, free: 12 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2761, allocations: 4 kB / 1.027 GB, free: 11.99 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.2765, allocations: 436.4 kB / 1.028 GB, free: 11.55 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.2765, allocations: 4 kB / 1.028 GB, free: 11.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.2766, allocations: 12 kB / 1.028 GB, free: 11.54 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.2766, allocations: 19.95 kB / 1.028 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.2766, allocations: 8 kB / 1.028 GB, free: 11.51 MB / 1.01 GB Notification: Performance of sorting global known variables: time 2.709e-05/0.2767, allocations: 22.59 kB / 1.028 GB, free: 11.48 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.2767, allocations: 0 / 1.028 GB, free: 11.48 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003848/0.2805, allocations: 1.715 MB / 1.03 GB, free: 9.766 MB / 1.01 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.006371/0.2869, allocations: 2.393 MB / 1.032 GB, free: 7.352 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.2873, allocations: 221.9 kB / 1.032 GB, free: 7.137 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.885e-05/0.2873, allocations: 7.938 kB / 1.032 GB, free: 7.129 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.2875, allocations: 139.3 kB / 1.032 GB, free: 6.988 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.2879, allocations: 201.4 kB / 1.032 GB, free: 6.773 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.2908, allocations: 0.5585 MB / 1.033 GB, free: 6.18 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.773e-05/0.2908, allocations: 102.8 kB / 1.033 GB, free: 6.059 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003664/0.2912, allocations: 408.7 kB / 1.033 GB, free: 5.66 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.2914, allocations: 149.2 kB / 1.034 GB, free: 5.512 MB / 1.01 GB Notification: Performance of SimCode: time 1.163e-06/0.2914, allocations: 0 / 1.034 GB, free: 5.512 MB / 1.01 GB Notification: Performance of Templates: time 0.6402/0.9317, allocations: 58.65 MB / 1.091 GB, free: 52.32 MB / 1.01 GB " [Timeout remaining time 299] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.SteamProperties/Buildings_latest_Buildings.Media.Examples.SteamProperties.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.903477178886533]