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.0007986/0.0007986, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001091/0.001889, allocations: 449.7 kB / 10.37 MB, free: 328 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.00158/0.00158, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001678/0.003258, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9546/0.9546, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1008/1.055, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.876/1.876, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5034/2.379, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|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.[0-9,]+.|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: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.353e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1319/0.1319, allocations: 131.8 MB / 0.858 GB, free: 468 kB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01968/0.1516, allocations: 22.37 MB / 0.8799 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.1518, allocations: 4 kB / 0.8799 GB, free: 10 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.152, allocations: 51.56 kB / 0.8799 GB, free: 9.953 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.1523, allocations: 91.36 kB / 0.88 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01183/0.1641, allocations: 6.251 MB / 0.8861 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.1644, allocations: 255.8 kB / 0.8864 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.1645, allocations: 10.45 kB / 0.8864 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.1648, allocations: 187.4 kB / 0.8866 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1649, allocations: 75.78 kB / 0.8866 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.1649, allocations: 12 kB / 0.8866 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01593/0.1809, allocations: 11.99 MB / 0.8984 GB, free: 7.051 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 8.928e-05/0.181, allocations: 27.88 kB / 0.8984 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.1811, allocations: 51.94 kB / 0.8984 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.1948, allocations: 6.246 MB / 0.9045 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.602e-05/0.1948, allocations: 0 / 0.9045 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1948, allocations: 0 / 0.9045 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.1948, allocations: 0 / 0.9045 GB, free: 0.7148 MB / 0.8698 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.003332/0.1982, allocations: 1.658 MB / 0.9062 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1982, allocations: 12.03 kB / 0.9062 GB, free: 15 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006629/0.1989, allocations: 164.3 kB / 0.9063 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1991, allocations: 161.6 kB / 0.9065 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1991, allocations: 8.375 kB / 0.9065 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1991, allocations: 20.38 kB / 0.9065 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006706/0.1998, allocations: 0.6012 MB / 0.9071 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1998, allocations: 0 / 0.9071 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.1998, allocations: 12 kB / 0.9071 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1998, allocations: 4 kB / 0.9071 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.2003, allocations: 396.4 kB / 0.9075 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.2009, allocations: 0.6111 MB / 0.9081 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.2013, allocations: 240.1 kB / 0.9083 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.2013, allocations: 40.83 kB / 0.9083 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0436/0.2449, allocations: 24.79 MB / 0.9326 GB, free: 3.797 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.2449, allocations: 38.56 kB / 0.9326 GB, free: 3.75 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 1.814e-06/0.2449, allocations: 0 / 0.9326 GB, free: 3.75 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25): time 0.000889/0.2458, allocations: 377 kB / 0.933 GB, free: 3.375 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.2459, allocations: 55.41 kB / 0.933 GB, free: 3.309 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/0.2459, allocations: 130.7 kB / 0.9331 GB, free: 3.168 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.246, allocations: 29.64 kB / 0.9332 GB, free: 3.133 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.246, allocations: 112.5 kB / 0.9333 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.2461, allocations: 99.12 kB / 0.9334 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.2461, allocations: 61.66 kB / 0.9334 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.66e-05/0.2462, allocations: 326.8 kB / 0.9337 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.797e-05/0.2463, allocations: 67.88 kB / 0.9338 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.2464, allocations: 113.1 kB / 0.9339 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.2466, allocations: 191.6 kB / 0.9341 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2466, allocations: 4 kB / 0.9341 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003138/0.2469, allocations: 237.1 kB / 0.9343 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2469, allocations: 8.031 kB / 0.9343 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.2469, allocations: 4 kB / 0.9343 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.2469, allocations: 0 / 0.9343 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.2471, allocations: 95.84 kB / 0.9344 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2471, allocations: 7.984 kB / 0.9344 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.07e-05/0.2472, allocations: 19.83 kB / 0.9344 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.2472, allocations: 11.98 kB / 0.9345 GB, free: 1.742 MB / 0.9011 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 9.148e-05/0.2473, allocations: 124.6 kB / 0.9346 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.2474, allocations: 47.62 kB / 0.9346 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009291/0.2484, allocations: 1.375 MB / 0.936 GB, free: 188 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.2484, allocations: 11.98 kB / 0.936 GB, free: 176 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.2484, allocations: 0 / 0.936 GB, free: 176 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2484, allocations: 0 / 0.936 GB, free: 176 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.2496, allocations: 1.745 MB / 0.9377 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.2496, allocations: 0 / 0.9377 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.2498, allocations: 63.94 kB / 0.9377 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.2498, allocations: 47.67 kB / 0.9378 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2498, allocations: 7.984 kB / 0.9378 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2498, allocations: 8 kB / 0.9378 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2498, allocations: 0 / 0.9378 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2498, allocations: 0 / 0.9378 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006058/0.2504, allocations: 440.3 kB / 0.9382 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.2505, allocations: 8 kB / 0.9382 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.783e-05/0.2505, allocations: 11.98 kB / 0.9382 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.2506, allocations: 19.97 kB / 0.9383 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.2506, allocations: 4 kB / 0.9383 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.222e-05/0.2506, allocations: 28.2 kB / 0.9383 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.2506, allocations: 0 / 0.9383 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003556/0.2542, allocations: 1.727 MB / 0.94 GB, free: 12.03 MB / 0.9167 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.005907/0.2601, allocations: 2.378 MB / 0.9423 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003789/0.2605, allocations: 219.5 kB / 0.9425 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/0.2605, allocations: 4 kB / 0.9425 GB, free: 9.414 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.2606, allocations: 123.4 kB / 0.9426 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.2609, allocations: 120.1 kB / 0.9427 GB, free: 9.172 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.264, allocations: 0.5518 MB / 0.9433 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.99e-05/0.264, allocations: 106.8 kB / 0.9434 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003718/0.2644, allocations: 408.6 kB / 0.9438 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.2646, allocations: 153.2 kB / 0.9439 GB, free: 7.918 MB / 0.9167 GB Notification: Performance of SimCode: time 1.273e-06/0.2646, allocations: 0 / 0.9439 GB, free: 7.918 MB / 0.9167 GB Notification: Performance of Templates: time 0.06441/0.3291, allocations: 68.97 MB / 1.011 GB, free: 2.945 MB / 0.9792 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.SteamProperties/Buildings_12_Buildings.Media.Examples.SteamProperties.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.162437985651195]