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.001679/0.001679, allocations: 80.25 kB / 19.18 MB, free: 2.527 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.002008/0.002008, allocations: 164.7 kB / 22.46 MB, free: 5.359 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.437/1.437, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.676/2.676, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] 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.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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.263e-05, allocations: 2.281 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.815/0.8151, allocations: 210.6 MB / 1.157 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02022/0.8353, allocations: 14.58 MB / 1.171 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003079/0.8384, allocations: 86.78 kB / 1.171 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003094/0.8415, allocations: 1.025 MB / 1.172 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008826/0.8503, allocations: 3.191 MB / 1.175 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004979/0.8553, allocations: 1.777 MB / 1.177 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00554/0.8608, allocations: 3.518 MB / 1.18 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.8627, allocations: 0.9956 MB / 1.181 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008194/0.8709, allocations: 3.034 MB / 1.184 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003059/0.8739, allocations: 0.9874 MB / 1.185 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004304/0.8744, allocations: 120.9 kB / 1.185 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006254/0.8806, allocations: 2.598 MB / 1.188 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009433/0.8816, allocations: 0.5109 MB / 1.188 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.8829, allocations: 0.5367 MB / 1.189 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006948/0.8899, allocations: 3.012 MB / 1.192 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8899, allocations: 0 / 1.192 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8899, allocations: 3.094 kB / 1.192 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.79e-05/0.8899, allocations: 5.781 kB / 1.192 GB, free: 6.367 MB / 0.9981 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.003618/0.8935, allocations: 1.982 MB / 1.194 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.8936, allocations: 8.156 kB / 1.194 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/0.8964, allocations: 0.5147 MB / 1.194 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.8986, allocations: 1.123 MB / 1.195 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.8986, allocations: 75.97 kB / 1.195 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.8987, allocations: 97.88 kB / 1.196 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.9009, allocations: 1.453 MB / 1.197 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.9009, allocations: 9.438 kB / 1.197 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.794e-05/0.901, allocations: 45.86 kB / 1.197 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.957e-05/0.901, allocations: 44.23 kB / 1.197 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.9032, allocations: 1.051 MB / 1.198 GB, free: 3.117 MB / 0.9981 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.006448/0.9097, allocations: 5.777 MB / 1.204 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.9112, allocations: 0.5189 MB / 1.204 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000612/0.9119, allocations: 249.8 kB / 1.204 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/0.9121, allocations: 58.5 kB / 1.204 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.9122, allocations: 40.84 kB / 1.205 GB, free: 14.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.9122, allocations: 3.938 kB / 1.205 GB, free: 14.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002459/0.9146, allocations: 0.816 MB / 1.205 GB, free: 14.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.9147, allocations: 56.84 kB / 1.205 GB, free: 14.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.9163, allocations: 1.137 MB / 1.206 GB, free: 13.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.396e-05/0.9164, allocations: 36.02 kB / 1.207 GB, free: 13.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000653/0.917, allocations: 0.7335 MB / 1.207 GB, free: 13.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.9171, allocations: 129.2 kB / 1.207 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.9174, allocations: 165.6 kB / 1.208 GB, free: 12.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.9176, allocations: 336.7 kB / 1.208 GB, free: 12.58 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008468/0.9184, allocations: 317.3 kB / 1.208 GB, free: 12.48 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.9198, allocations: 0.9597 MB / 1.209 GB, free: 11.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.9217, allocations: 0.9313 MB / 1.21 GB, free: 10.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.9217, allocations: 2.531 kB / 1.21 GB, free: 10.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002573/0.9243, allocations: 1.031 MB / 1.211 GB, free: 10.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.9243, allocations: 11.75 kB / 1.211 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.9243, allocations: 12.09 kB / 1.211 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.751e-05/0.9244, allocations: 17 kB / 1.211 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008254/0.9252, allocations: 202.5 kB / 1.211 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.609e-05/0.9252, allocations: 28.33 kB / 1.211 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.9266, allocations: 154.6 kB / 1.211 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/0.9267, allocations: 47.95 kB / 1.211 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001311/0.928, allocations: 0.5698 MB / 1.212 GB, free: 10.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001377/0.9294, allocations: 0.9646 MB / 1.213 GB, free: 9.391 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001879/0.9313, allocations: 0.9287 MB / 1.214 GB, free: 8.773 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.821e-06/0.9313, allocations: 7.25 kB / 1.214 GB, free: 8.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002428/0.9337, allocations: 1.029 MB / 1.215 GB, free: 8.457 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.9337, allocations: 11.22 kB / 1.215 GB, free: 8.457 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.9337, allocations: 12.41 kB / 1.215 GB, free: 8.457 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.9337, allocations: 14.09 kB / 1.215 GB, free: 8.457 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007913/0.9345, allocations: 203.1 kB / 1.215 GB, free: 8.449 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.9345, allocations: 28.83 kB / 1.215 GB, free: 8.445 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.9358, allocations: 133.2 kB / 1.215 GB, free: 8.402 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.29e-05/0.9359, allocations: 45.7 kB / 1.215 GB, free: 8.395 MB / 1.014 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.000308/0.9362, allocations: 237 kB / 1.216 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.9364, allocations: 123.3 kB / 1.216 GB, free: 8.117 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.938, allocations: 0.6209 MB / 1.216 GB, free: 7.891 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.938, allocations: 3.031 kB / 1.216 GB, free: 7.891 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.938, allocations: 4 kB / 1.216 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.9381, allocations: 0 / 1.216 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.9413, allocations: 1.646 MB / 1.218 GB, free: 7.117 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.9413, allocations: 2.719 kB / 1.218 GB, free: 7.117 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.9418, allocations: 94.67 kB / 1.218 GB, free: 7.113 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.9418, allocations: 9.125 kB / 1.218 GB, free: 7.109 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.9419, allocations: 12.47 kB / 1.218 GB, free: 7.105 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.9419, allocations: 5.188 kB / 1.218 GB, free: 7.105 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.9419, allocations: 8.094 kB / 1.218 GB, free: 7.105 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.9434, allocations: 0.7695 MB / 1.219 GB, free: 6.668 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/0.9438, allocations: 189.4 kB / 1.219 GB, free: 6.562 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.944, allocations: 9.531 kB / 1.219 GB, free: 6.559 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000891/0.9449, allocations: 62.58 kB / 1.219 GB, free: 6.551 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/0.945, allocations: 39.23 kB / 1.219 GB, free: 6.539 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/0.945, allocations: 23.11 kB / 1.219 GB, free: 6.535 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001049/0.9461, allocations: 0.7602 MB / 1.22 GB, free: 6.227 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9461, allocations: 0 / 1.22 GB, free: 6.227 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001951/0.948, allocations: 0.6426 MB / 1.22 GB, free: 6.086 MB / 1.014 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.0005215/0.9485, allocations: 259.4 kB / 1.221 GB, free: 5.945 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002972/0.9515, allocations: 1.093 MB / 1.222 GB, free: 5.695 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.9515, allocations: 0 / 1.222 GB, free: 5.695 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007033/0.9522, allocations: 249.3 kB / 1.222 GB, free: 5.645 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/0.9548, allocations: 454 kB / 1.222 GB, free: 5.426 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005765/0.9606, allocations: 2.207 MB / 1.225 GB, free: 4.074 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008516/0.9615, allocations: 0.598 MB / 1.225 GB, free: 3.727 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001436/0.9629, allocations: 339.6 kB / 1.225 GB, free: 3.559 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.9632, allocations: 83.64 kB / 1.226 GB, free: 3.543 MB / 1.014 GB Notification: Performance of SimCode: time 1.302e-06/0.9632, allocations: 0 / 1.226 GB, free: 3.543 MB / 1.014 GB Notification: Performance of Templates: time 0.03427/0.9975, allocations: 17.64 MB / 1.243 GB, free: 10.8 MB / 1.029 GB " [Timeout remaining time 299] 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: 9.578154899179935]