Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001874/0.001874, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002383/0.002383, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.152/3.152, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_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_12_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.002063/0.002063, allocations: 74.45 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2819, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2543/0.5362, allocations: 211.1 MB / 1.533 GB, free: 13.11 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02228/0.5585, allocations: 14.62 MB / 1.547 GB, free: 14.45 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/0.5607, allocations: 91.19 kB / 1.548 GB, free: 14.36 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.5636, allocations: 1.006 MB / 1.549 GB, free: 13.34 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.0082/0.5718, allocations: 3.088 MB / 1.552 GB, free: 10.24 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004508/0.5763, allocations: 1.712 MB / 1.553 GB, free: 8.539 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004984/0.5812, allocations: 3.48 MB / 1.557 GB, free: 5.047 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.5829, allocations: 1.011 MB / 1.558 GB, free: 3.996 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006967/0.5899, allocations: 2.867 MB / 1.56 GB, free: 1.133 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.5923, allocations: 1.127 MB / 1.562 GB, free: 12 kB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002638/0.5926, allocations: 116 kB / 1.562 GB, free: 15.89 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005419/0.598, allocations: 2.587 MB / 1.564 GB, free: 13.3 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0006061/0.5986, allocations: 490.3 kB / 1.565 GB, free: 12.82 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0009502/0.5996, allocations: 0.6492 MB / 1.565 GB, free: 12.17 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005007/0.6046, allocations: 2.927 MB / 1.568 GB, free: 9.234 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6046, allocations: 3.938 kB / 1.568 GB, free: 9.23 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6046, allocations: 0 / 1.568 GB, free: 9.23 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.161e-05/0.6046, allocations: 0 / 1.568 GB, free: 9.23 MB / 1.264 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.003924/0.6085, allocations: 1.99 MB / 1.57 GB, free: 7.199 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.6086, allocations: 12.03 kB / 1.57 GB, free: 7.188 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003031/0.6116, allocations: 0.5102 MB / 1.571 GB, free: 6.676 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/0.6143, allocations: 1.125 MB / 1.572 GB, free: 5.504 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-05/0.6143, allocations: 78 kB / 1.572 GB, free: 5.426 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.6145, allocations: 96 kB / 1.572 GB, free: 5.332 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.6172, allocations: 1.447 MB / 1.573 GB, free: 3.742 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.6172, allocations: 7.938 kB / 1.573 GB, free: 3.734 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.6173, allocations: 44 kB / 1.573 GB, free: 3.691 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.925e-05/0.6174, allocations: 46 kB / 1.573 GB, free: 3.645 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002579/0.62, allocations: 1.05 MB / 1.574 GB, free: 2.594 MB / 1.264 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.008173/0.6282, allocations: 5.795 MB / 1.58 GB, free: 12.59 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.6298, allocations: 0.5268 MB / 1.581 GB, free: 12.06 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000659/0.6305, allocations: 249.2 kB / 1.581 GB, free: 11.81 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.6308, allocations: 48.25 kB / 1.581 GB, free: 11.77 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.6308, allocations: 50.72 kB / 1.581 GB, free: 11.71 MB / 1.279 GB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.6308, allocations: 0 / 1.581 GB, free: 11.71 MB / 1.279 GB Notification: Performance of matching and sorting (n=33): time 0.002529/0.6333, allocations: 0.8221 MB / 1.582 GB, free: 10.88 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.6334, allocations: 55.41 kB / 1.582 GB, free: 10.81 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.6351, allocations: 1.12 MB / 1.583 GB, free: 9.684 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.698e-05/0.6351, allocations: 37.7 kB / 1.583 GB, free: 9.641 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006349/0.6358, allocations: 0.7414 MB / 1.584 GB, free: 8.891 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.6359, allocations: 131 kB / 1.584 GB, free: 8.762 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.6362, allocations: 162.5 kB / 1.584 GB, free: 8.598 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.6364, allocations: 337.9 kB / 1.584 GB, free: 8.262 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008677/0.6372, allocations: 308.6 kB / 1.584 GB, free: 7.957 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.6386, allocations: 0.9689 MB / 1.585 GB, free: 6.746 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.6405, allocations: 0.9254 MB / 1.586 GB, free: 5.66 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.6405, allocations: 4 kB / 1.586 GB, free: 5.656 MB / 1.279 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002513/0.643, allocations: 1.032 MB / 1.587 GB, free: 4.617 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.643, allocations: 15.94 kB / 1.587 GB, free: 4.602 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.6431, allocations: 12 kB / 1.587 GB, free: 4.59 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/0.6431, allocations: 19.94 kB / 1.587 GB, free: 4.57 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009412/0.644, allocations: 207.6 kB / 1.588 GB, free: 4.367 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.511e-05/0.6441, allocations: 23.92 kB / 1.588 GB, free: 4.344 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.6454, allocations: 139.4 kB / 1.588 GB, free: 4.207 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.822e-05/0.6455, allocations: 47.98 kB / 1.588 GB, free: 4.16 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001338/0.6468, allocations: 0.5643 MB / 1.588 GB, free: 3.594 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001348/0.6481, allocations: 0.965 MB / 1.589 GB, free: 2.387 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001873/0.65, allocations: 0.9256 MB / 1.59 GB, free: 1.301 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.822e-06/0.65, allocations: 4 kB / 1.59 GB, free: 1.297 MB / 1.279 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002487/0.6525, allocations: 1.028 MB / 1.591 GB, free: 268 kB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.6525, allocations: 12 kB / 1.591 GB, free: 256 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.6525, allocations: 15.94 kB / 1.591 GB, free: 240 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.6526, allocations: 16 kB / 1.591 GB, free: 224 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000898/0.6535, allocations: 203.9 kB / 1.591 GB, free: 20 kB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.698e-05/0.6535, allocations: 23.97 kB / 1.591 GB, free: 15.99 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.6548, allocations: 139.5 kB / 1.592 GB, free: 15.86 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.821e-05/0.6549, allocations: 39.98 kB / 1.592 GB, free: 15.82 MB / 1.295 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.0002792/0.6552, allocations: 232 kB / 1.592 GB, free: 15.59 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.6554, allocations: 127.1 kB / 1.592 GB, free: 15.46 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.6571, allocations: 0.6263 MB / 1.593 GB, free: 14.82 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.6571, allocations: 4 kB / 1.593 GB, free: 14.82 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6571, allocations: 0 / 1.593 GB, free: 14.82 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.6571, allocations: 0 / 1.593 GB, free: 14.82 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003632/0.6608, allocations: 1.652 MB / 1.594 GB, free: 13.09 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.6608, allocations: 8 kB / 1.594 GB, free: 13.08 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/0.6613, allocations: 92.08 kB / 1.594 GB, free: 12.99 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/0.6613, allocations: 12.03 kB / 1.594 GB, free: 12.98 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.6614, allocations: 23.91 kB / 1.594 GB, free: 12.95 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.6614, allocations: 4 kB / 1.594 GB, free: 12.95 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.6614, allocations: 4 kB / 1.594 GB, free: 12.95 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.663, allocations: 0.7666 MB / 1.595 GB, free: 12.12 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004934/0.6635, allocations: 187 kB / 1.595 GB, free: 11.93 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.6636, allocations: 19.92 kB / 1.595 GB, free: 11.91 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009626/0.6646, allocations: 59.94 kB / 1.595 GB, free: 11.86 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.6647, allocations: 35.83 kB / 1.595 GB, free: 11.82 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.266e-05/0.6648, allocations: 23.98 kB / 1.595 GB, free: 11.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001171/0.6659, allocations: 0.7463 MB / 1.596 GB, free: 11.05 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/0.6659, allocations: 0 / 1.596 GB, free: 11.05 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001921/0.6678, allocations: 0.643 MB / 1.597 GB, free: 10.4 MB / 1.295 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.000464/0.6683, allocations: 250.8 kB / 1.597 GB, free: 10.15 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002897/0.6712, allocations: 1.083 MB / 1.598 GB, free: 9.07 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.6712, allocations: 0.9375 kB / 1.598 GB, free: 9.07 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006957/0.6719, allocations: 256.5 kB / 1.598 GB, free: 8.82 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.6742, allocations: 454.2 kB / 1.599 GB, free: 8.387 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/0.6794, allocations: 2.233 MB / 1.601 GB, free: 6.07 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/0.6801, allocations: 0.5943 MB / 1.602 GB, free: 5.441 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001265/0.6814, allocations: 344.6 kB / 1.602 GB, free: 5.102 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.6816, allocations: 79.42 kB / 1.602 GB, free: 5.023 MB / 1.295 GB Notification: Performance of SimCode: time 1.282e-06/0.6816, allocations: 0 / 1.602 GB, free: 5.023 MB / 1.295 GB Notification: Performance of Templates: time 0.5905/1.272, allocations: 20.11 MB / 1.622 GB, free: 278.4 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.984433687990531]