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.001949/0.001949, 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.002362/0.002362, allocations: 214 kB / 22.25 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.809 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.329/3.329, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] 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.002113/0.002113, allocations: 70.59 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3728, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.3005/0.6733, allocations: 211.1 MB / 1.532 GB, free: 14 MB / 1.233 GB Notification: Performance of NFInst.instExpressions: time 0.02704/0.7003, allocations: 14.62 MB / 1.546 GB, free: 15.34 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002625/0.7029, allocations: 87.25 kB / 1.546 GB, free: 15.25 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.7063, allocations: 1.002 MB / 1.547 GB, free: 14.24 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.009442/0.7157, allocations: 3.088 MB / 1.55 GB, free: 11.14 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005296/0.721, allocations: 1.706 MB / 1.552 GB, free: 9.441 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005867/0.7269, allocations: 3.45 MB / 1.555 GB, free: 5.98 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/0.7292, allocations: 0.9911 MB / 1.556 GB, free: 4.949 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008215/0.7374, allocations: 2.88 MB / 1.559 GB, free: 2.074 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002787/0.7402, allocations: 1.081 MB / 1.56 GB, free: 1 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0005268/0.7407, allocations: 120 kB / 1.56 GB, free: 0.8828 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006046/0.7467, allocations: 2.537 MB / 1.562 GB, free: 14.34 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008781/0.7476, allocations: 490 kB / 1.563 GB, free: 13.86 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.7491, allocations: 0.6531 MB / 1.564 GB, free: 13.2 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.006482/0.7556, allocations: 2.92 MB / 1.566 GB, free: 10.27 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.7556, allocations: 4 kB / 1.566 GB, free: 10.27 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7556, allocations: 0 / 1.566 GB, free: 10.27 MB / 1.264 GB Notification: Performance of Transformations before backend: time 8.113e-05/0.7557, allocations: 4 kB / 1.566 GB, free: 10.27 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.004908/0.7606, allocations: 1.997 MB / 1.568 GB, free: 8.227 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.7606, allocations: 8.031 kB / 1.568 GB, free: 8.219 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003019/0.7637, allocations: 0.5063 MB / 1.569 GB, free: 7.711 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/0.7668, allocations: 1.113 MB / 1.57 GB, free: 6.551 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.767, allocations: 81.98 kB / 1.57 GB, free: 6.469 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/0.7673, allocations: 100 kB / 1.57 GB, free: 6.371 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00363/0.7709, allocations: 1.446 MB / 1.572 GB, free: 4.781 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/0.771, allocations: 3.938 kB / 1.572 GB, free: 4.777 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.7711, allocations: 47.98 kB / 1.572 GB, free: 4.73 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-05/0.7712, allocations: 42 kB / 1.572 GB, free: 4.688 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002948/0.7741, allocations: 1.054 MB / 1.573 GB, free: 3.633 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.009569/0.7837, allocations: 5.799 MB / 1.578 GB, free: 13.62 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.7854, allocations: 0.5191 MB / 1.579 GB, free: 13.1 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/0.786, allocations: 249.2 kB / 1.579 GB, free: 12.85 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.7863, allocations: 48.25 kB / 1.579 GB, free: 12.8 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.7864, allocations: 42.78 kB / 1.579 GB, free: 12.75 MB / 1.279 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.7864, allocations: 0 / 1.579 GB, free: 12.75 MB / 1.279 GB Notification: Performance of matching and sorting (n=33): time 0.0026/0.789, allocations: 0.826 MB / 1.58 GB, free: 11.92 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.789, allocations: 59.41 kB / 1.58 GB, free: 11.85 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.7909, allocations: 1.12 MB / 1.581 GB, free: 10.72 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.177e-05/0.791, allocations: 33.7 kB / 1.581 GB, free: 10.68 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006765/0.7917, allocations: 0.7375 MB / 1.582 GB, free: 9.938 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.7918, allocations: 130.9 kB / 1.582 GB, free: 9.809 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/0.7921, allocations: 162.5 kB / 1.582 GB, free: 9.645 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.7922, allocations: 337.9 kB / 1.583 GB, free: 9.309 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009017/0.7931, allocations: 316.6 kB / 1.583 GB, free: 8.996 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.7946, allocations: 0.965 MB / 1.584 GB, free: 7.789 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.7965, allocations: 0.9293 MB / 1.585 GB, free: 6.699 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.7965, allocations: 7.938 kB / 1.585 GB, free: 6.691 MB / 1.279 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002606/0.7991, allocations: 1.031 MB / 1.586 GB, free: 5.652 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.7992, allocations: 12.94 kB / 1.586 GB, free: 5.641 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.7992, allocations: 12 kB / 1.586 GB, free: 5.629 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.876e-05/0.7992, allocations: 20 kB / 1.586 GB, free: 5.609 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008722/0.8001, allocations: 203.6 kB / 1.586 GB, free: 5.41 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.981e-05/0.8001, allocations: 23.92 kB / 1.586 GB, free: 5.387 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.8014, allocations: 147.4 kB / 1.586 GB, free: 5.242 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.099e-05/0.8015, allocations: 43.98 kB / 1.586 GB, free: 5.199 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001316/0.8028, allocations: 0.5643 MB / 1.587 GB, free: 4.633 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001396/0.8042, allocations: 0.9612 MB / 1.588 GB, free: 3.43 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00193/0.8061, allocations: 0.9294 MB / 1.589 GB, free: 2.34 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.281e-06/0.8061, allocations: 4 kB / 1.589 GB, free: 2.336 MB / 1.279 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002594/0.8087, allocations: 1.028 MB / 1.59 GB, free: 1.301 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.8088, allocations: 12 kB / 1.59 GB, free: 1.289 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/0.8088, allocations: 19.94 kB / 1.59 GB, free: 1.27 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.8088, allocations: 16 kB / 1.59 GB, free: 1.254 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008615/0.8097, allocations: 199.7 kB / 1.59 GB, free: 1.059 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.515e-05/0.8097, allocations: 31.86 kB / 1.59 GB, free: 1.027 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.811, allocations: 135.6 kB / 1.59 GB, free: 0.8945 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.078e-05/0.811, allocations: 39.98 kB / 1.59 GB, free: 0.8555 MB / 1.279 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.0002737/0.8113, allocations: 236 kB / 1.59 GB, free: 0.6172 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.8116, allocations: 123.2 kB / 1.59 GB, free: 0.4961 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.8134, allocations: 0.6341 MB / 1.591 GB, free: 15.85 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/0.8134, allocations: 4 kB / 1.591 GB, free: 15.84 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8134, allocations: 0 / 1.591 GB, free: 15.84 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.8134, allocations: 0 / 1.591 GB, free: 15.84 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/0.8173, allocations: 1.647 MB / 1.593 GB, free: 14.12 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.8173, allocations: 4 kB / 1.593 GB, free: 14.11 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.8179, allocations: 96.08 kB / 1.593 GB, free: 14.02 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.8179, allocations: 11.88 kB / 1.593 GB, free: 14.01 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.8179, allocations: 19.92 kB / 1.593 GB, free: 13.99 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.8179, allocations: 7.938 kB / 1.593 GB, free: 13.98 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.8179, allocations: 4 kB / 1.593 GB, free: 13.98 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.8196, allocations: 0.7705 MB / 1.593 GB, free: 13.14 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005312/0.8202, allocations: 179.1 kB / 1.594 GB, free: 12.97 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.8204, allocations: 15.92 kB / 1.594 GB, free: 12.95 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009779/0.8213, allocations: 63.94 kB / 1.594 GB, free: 12.89 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.8214, allocations: 35.83 kB / 1.594 GB, free: 12.86 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/0.8215, allocations: 19.98 kB / 1.594 GB, free: 12.84 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001282/0.8227, allocations: 0.7463 MB / 1.594 GB, free: 12.09 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.8227, allocations: 0 / 1.594 GB, free: 12.09 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002072/0.8248, allocations: 0.6469 MB / 1.595 GB, free: 11.44 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.00051/0.8253, allocations: 246.9 kB / 1.595 GB, free: 11.19 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002963/0.8283, allocations: 1.083 MB / 1.596 GB, free: 10.11 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.8283, allocations: 4 kB / 1.596 GB, free: 10.11 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.000711/0.829, allocations: 248.8 kB / 1.597 GB, free: 9.863 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.8312, allocations: 442.7 kB / 1.597 GB, free: 9.441 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005431/0.8366, allocations: 2.248 MB / 1.599 GB, free: 7.109 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008289/0.8375, allocations: 0.5943 MB / 1.6 GB, free: 6.48 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001334/0.8388, allocations: 340.6 kB / 1.6 GB, free: 6.145 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.8391, allocations: 79.42 kB / 1.6 GB, free: 6.066 MB / 1.295 GB Notification: Performance of SimCode: time 7.61e-07/0.8391, allocations: 0 / 1.6 GB, free: 6.066 MB / 1.295 GB Notification: Performance of Templates: time 0.7603/1.599, allocations: 19.88 MB / 1.62 GB, free: 279.4 MB / 1.295 GB " [Timeout remaining time 298] 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 -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/jenkins/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: 11.195339614525437]