Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example4.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.001446/0.001446, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001618/0.001618, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.808/2.808, allocations: 475.9 MB / 0.7699 GB, free: 4.805 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example4") [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.002146/0.002146, allocations: 66.06 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3955, allocations: 170 MB / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2868/0.6823, allocations: 211 MB / 1.489 GB, free: 8.207 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02449/0.7068, allocations: 14.62 MB / 1.503 GB, free: 9.551 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/0.7098, allocations: 83.31 kB / 1.503 GB, free: 9.469 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.003182/0.713, allocations: 0.9979 MB / 1.504 GB, free: 8.465 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.7231, allocations: 3.112 MB / 1.507 GB, free: 5.34 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005616/0.7287, allocations: 1.707 MB / 1.509 GB, free: 3.645 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.006658/0.7354, allocations: 3.472 MB / 1.513 GB, free: 164 kB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.7374, allocations: 0.9986 MB / 1.513 GB, free: 15.13 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008027/0.7454, allocations: 2.603 MB / 1.516 GB, free: 12.53 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/0.7483, allocations: 1.079 MB / 1.517 GB, free: 11.45 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003042/0.7486, allocations: 124 kB / 1.517 GB, free: 11.33 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006287/0.7549, allocations: 2.56 MB / 1.52 GB, free: 8.766 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006753/0.7555, allocations: 498.2 kB / 1.52 GB, free: 8.277 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.7567, allocations: 0.6492 MB / 1.521 GB, free: 7.625 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00644/0.7631, allocations: 2.924 MB / 1.524 GB, free: 4.691 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.7631, allocations: 0 / 1.524 GB, free: 4.691 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7631, allocations: 0 / 1.524 GB, free: 4.691 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.543e-05/0.7632, allocations: 0 / 1.524 GB, free: 4.691 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004352/0.7675, allocations: 1.981 MB / 1.526 GB, free: 2.668 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.7676, allocations: 8.031 kB / 1.526 GB, free: 2.66 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00277/0.7703, allocations: 0.518 MB / 1.526 GB, free: 2.141 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/0.773, allocations: 1.097 MB / 1.527 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.026e-05/0.7731, allocations: 77.98 kB / 1.527 GB, free: 0.918 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.7732, allocations: 103.9 kB / 1.527 GB, free: 0.8164 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/0.7759, allocations: 1.458 MB / 1.529 GB, free: 15.21 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.7759, allocations: 11.88 kB / 1.529 GB, free: 15.2 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.776, allocations: 40 kB / 1.529 GB, free: 15.16 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.003e-05/0.7761, allocations: 45.98 kB / 1.529 GB, free: 15.12 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/0.7785, allocations: 1.05 MB / 1.53 GB, free: 14.07 MB / 1.233 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008008/0.7865, allocations: 5.787 MB / 1.536 GB, free: 8.074 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.7881, allocations: 0.5204 MB / 1.536 GB, free: 7.547 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006233/0.7887, allocations: 245.2 kB / 1.536 GB, free: 7.305 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002997/0.789, allocations: 60.23 kB / 1.536 GB, free: 7.246 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.7891, allocations: 38.78 kB / 1.536 GB, free: 7.199 MB / 1.233 GB Notification: Performance of pre-optimization done (n=33): time 2.043e-06/0.7891, allocations: 0 / 1.536 GB, free: 7.199 MB / 1.233 GB Notification: Performance of matching and sorting (n=33): time 0.002438/0.7915, allocations: 0.8183 MB / 1.537 GB, free: 6.375 MB / 1.233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.7916, allocations: 55.41 kB / 1.537 GB, free: 6.309 MB / 1.233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.7932, allocations: 1.127 MB / 1.538 GB, free: 5.172 MB / 1.233 GB Notification: Performance of collectPreVariables (initialization): time 7.732e-05/0.7933, allocations: 33.7 kB / 1.538 GB, free: 5.133 MB / 1.233 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006961/0.794, allocations: 0.7374 MB / 1.539 GB, free: 4.387 MB / 1.233 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.7941, allocations: 123 kB / 1.539 GB, free: 4.266 MB / 1.233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.7944, allocations: 166.5 kB / 1.539 GB, free: 4.098 MB / 1.233 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.7946, allocations: 334 kB / 1.54 GB, free: 3.766 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008292/0.7954, allocations: 316.6 kB / 1.54 GB, free: 3.453 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.7968, allocations: 0.965 MB / 1.541 GB, free: 2.246 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.7986, allocations: 0.9304 MB / 1.542 GB, free: 1.156 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.7986, allocations: 0 / 1.542 GB, free: 1.156 MB / 1.233 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002404/0.801, allocations: 1.04 MB / 1.543 GB, free: 112 kB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.8011, allocations: 11.94 kB / 1.543 GB, free: 100 kB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.8011, allocations: 12 kB / 1.543 GB, free: 88 kB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.319e-05/0.8011, allocations: 16 kB / 1.543 GB, free: 72 kB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008792/0.802, allocations: 204.2 kB / 1.543 GB, free: 15.87 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/0.802, allocations: 23.88 kB / 1.543 GB, free: 15.85 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.8032, allocations: 151.4 kB / 1.543 GB, free: 15.7 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/0.8033, allocations: 43.98 kB / 1.543 GB, free: 15.66 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001307/0.8046, allocations: 0.5643 MB / 1.544 GB, free: 15.09 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001429/0.806, allocations: 0.965 MB / 1.545 GB, free: 13.88 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001817/0.8079, allocations: 0.9176 MB / 1.546 GB, free: 12.8 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.532e-06/0.8079, allocations: 4 kB / 1.546 GB, free: 12.79 MB / 1.248 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002652/0.8105, allocations: 1.031 MB / 1.547 GB, free: 11.75 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.8105, allocations: 12 kB / 1.547 GB, free: 11.74 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.8106, allocations: 19.88 kB / 1.547 GB, free: 11.72 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.8106, allocations: 16.81 kB / 1.547 GB, free: 11.71 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/0.8115, allocations: 203.7 kB / 1.547 GB, free: 11.51 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.677e-05/0.8115, allocations: 23.88 kB / 1.547 GB, free: 11.48 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.8129, allocations: 136.8 kB / 1.547 GB, free: 11.35 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-05/0.813, allocations: 51.92 kB / 1.547 GB, free: 11.3 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0004425/0.8134, allocations: 236 kB / 1.547 GB, free: 11.06 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/0.8136, allocations: 123.2 kB / 1.547 GB, free: 10.94 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.8155, allocations: 0.6161 MB / 1.548 GB, free: 10.31 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.8155, allocations: 4 kB / 1.548 GB, free: 10.31 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.8155, allocations: 0 / 1.548 GB, free: 10.31 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.8155, allocations: 7.938 kB / 1.548 GB, free: 10.3 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/0.8192, allocations: 1.644 MB / 1.55 GB, free: 8.578 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.8192, allocations: 8 kB / 1.55 GB, free: 8.57 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.8197, allocations: 91.86 kB / 1.55 GB, free: 8.48 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/0.8197, allocations: 8 kB / 1.55 GB, free: 8.473 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.8198, allocations: 16.09 kB / 1.55 GB, free: 8.457 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.682e-05/0.8198, allocations: 15.92 kB / 1.55 GB, free: 8.441 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.8198, allocations: 4 kB / 1.55 GB, free: 8.438 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.8215, allocations: 0.7668 MB / 1.551 GB, free: 7.609 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005098/0.822, allocations: 183.1 kB / 1.551 GB, free: 7.43 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.8221, allocations: 15.94 kB / 1.551 GB, free: 7.414 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000865/0.823, allocations: 63.92 kB / 1.551 GB, free: 7.352 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.8231, allocations: 35.83 kB / 1.551 GB, free: 7.316 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.8232, allocations: 23.98 kB / 1.551 GB, free: 7.293 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001335/0.8245, allocations: 0.7459 MB / 1.552 GB, free: 6.543 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.8245, allocations: 0 / 1.552 GB, free: 6.543 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002372/0.8269, allocations: 0.643 MB / 1.552 GB, free: 5.898 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0007039/0.8276, allocations: 242.9 kB / 1.552 GB, free: 5.652 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003244/0.8308, allocations: 1.09 MB / 1.554 GB, free: 4.566 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.8308, allocations: 0 / 1.554 GB, free: 4.566 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0007076/0.8315, allocations: 252.5 kB / 1.554 GB, free: 4.32 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/0.8341, allocations: 447.7 kB / 1.554 GB, free: 3.895 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006477/0.8406, allocations: 2.235 MB / 1.556 GB, free: 1.578 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008626/0.8414, allocations: 0.5943 MB / 1.557 GB, free: 0.9492 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00151/0.8429, allocations: 336.6 kB / 1.557 GB, free: 0.6172 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.8432, allocations: 79.42 kB / 1.557 GB, free: 0.5391 MB / 1.248 GB Notification: Performance of SimCode: time 2.064e-06/0.8432, allocations: 0 / 1.557 GB, free: 0.5391 MB / 1.248 GB Notification: Performance of Templates: time 0.03874/0.8819, allocations: 19.86 MB / 1.577 GB, free: 13.08 MB / 1.279 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.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: 10.111362794414163]