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.001318/0.001318, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.0015/0.0015, allocations: 210.6 kB / 22.99 MB, free: 4.957 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.154/3.154, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.002052/0.002052, allocations: 67.42 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3873, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2819/0.6692, allocations: 211.1 MB / 1.533 GB, free: 13.14 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02485/0.6941, allocations: 14.63 MB / 1.547 GB, free: 14.48 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.6966, allocations: 87.25 kB / 1.548 GB, free: 14.39 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003134/0.6997, allocations: 1.002 MB / 1.549 GB, free: 13.38 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.009371/0.7091, allocations: 3.09 MB / 1.552 GB, free: 10.28 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005577/0.7147, allocations: 1.723 MB / 1.553 GB, free: 8.566 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.00658/0.7212, allocations: 3.482 MB / 1.557 GB, free: 5.074 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/0.7235, allocations: 1.007 MB / 1.558 GB, free: 4.027 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00872/0.7322, allocations: 2.873 MB / 1.56 GB, free: 1.156 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/0.7353, allocations: 1.114 MB / 1.562 GB, free: 48 kB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0005913/0.7359, allocations: 120 kB / 1.562 GB, free: 15.93 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006692/0.7426, allocations: 2.587 MB / 1.564 GB, free: 13.34 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0009563/0.7435, allocations: 494.2 kB / 1.565 GB, free: 12.85 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.7448, allocations: 0.6492 MB / 1.565 GB, free: 12.2 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.006285/0.7511, allocations: 2.927 MB / 1.568 GB, free: 9.262 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7511, allocations: 0 / 1.568 GB, free: 9.262 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7511, allocations: 0 / 1.568 GB, free: 9.262 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.893e-05/0.7511, allocations: 0 / 1.568 GB, free: 9.262 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.004024/0.7551, allocations: 1.99 MB / 1.57 GB, free: 7.23 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.7552, allocations: 8.031 kB / 1.57 GB, free: 7.223 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/0.7582, allocations: 0.5141 MB / 1.571 GB, free: 6.707 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002853/0.761, allocations: 1.113 MB / 1.572 GB, free: 5.547 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.952e-05/0.7611, allocations: 78 kB / 1.572 GB, free: 5.469 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.7613, allocations: 100 kB / 1.572 GB, free: 5.371 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/0.7639, allocations: 1.459 MB / 1.573 GB, free: 3.77 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.764, allocations: 3.938 kB / 1.573 GB, free: 3.766 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.7641, allocations: 44 kB / 1.573 GB, free: 3.723 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.11e-05/0.7641, allocations: 46 kB / 1.573 GB, free: 3.676 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.7666, allocations: 1.05 MB / 1.574 GB, free: 2.625 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.008667/0.7753, allocations: 5.798 MB / 1.58 GB, free: 12.62 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.7769, allocations: 0.5269 MB / 1.581 GB, free: 12.09 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006303/0.7775, allocations: 245.2 kB / 1.581 GB, free: 11.84 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/0.7778, allocations: 52.25 kB / 1.581 GB, free: 11.79 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.7779, allocations: 42.78 kB / 1.581 GB, free: 11.74 MB / 1.279 GB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/0.7779, allocations: 0 / 1.581 GB, free: 11.74 MB / 1.279 GB Notification: Performance of matching and sorting (n=33): time 0.002517/0.7804, allocations: 0.826 MB / 1.582 GB, free: 10.91 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.7804, allocations: 55.41 kB / 1.582 GB, free: 10.84 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.7821, allocations: 1.124 MB / 1.583 GB, free: 9.711 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 7.378e-05/0.7822, allocations: 33.7 kB / 1.583 GB, free: 9.672 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006498/0.7828, allocations: 0.7453 MB / 1.584 GB, free: 8.918 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.783, allocations: 123 kB / 1.584 GB, free: 8.797 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.7833, allocations: 166.5 kB / 1.584 GB, free: 8.629 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.7834, allocations: 333.9 kB / 1.584 GB, free: 8.297 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008372/0.7843, allocations: 308.6 kB / 1.584 GB, free: 7.992 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.7856, allocations: 0.9766 MB / 1.585 GB, free: 6.773 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.7874, allocations: 0.9215 MB / 1.586 GB, free: 5.691 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.7875, allocations: 4 kB / 1.586 GB, free: 5.688 MB / 1.279 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002427/0.7899, allocations: 1.031 MB / 1.587 GB, free: 4.648 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.7899, allocations: 15.94 kB / 1.587 GB, free: 4.633 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.7899, allocations: 12 kB / 1.587 GB, free: 4.621 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.7899, allocations: 16 kB / 1.587 GB, free: 4.605 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008891/0.7908, allocations: 212 kB / 1.588 GB, free: 4.398 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-05/0.7909, allocations: 23.92 kB / 1.588 GB, free: 4.375 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.7921, allocations: 143.4 kB / 1.588 GB, free: 4.234 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-05/0.7922, allocations: 39.98 kB / 1.588 GB, free: 4.195 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001313/0.7935, allocations: 0.5682 MB / 1.588 GB, free: 3.625 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001333/0.7949, allocations: 0.9611 MB / 1.589 GB, free: 2.422 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001779/0.7966, allocations: 0.9372 MB / 1.59 GB, free: 1.324 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.873e-06/0.7966, allocations: 4 kB / 1.59 GB, free: 1.32 MB / 1.279 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002378/0.799, allocations: 1.023 MB / 1.591 GB, free: 296 kB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.799, allocations: 14.03 kB / 1.591 GB, free: 284 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.7991, allocations: 15.94 kB / 1.591 GB, free: 268 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.7991, allocations: 16 kB / 1.591 GB, free: 252 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008443/0.7999, allocations: 208.3 kB / 1.591 GB, free: 44 kB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/0.7999, allocations: 27.86 kB / 1.591 GB, free: 16 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.8011, allocations: 128.6 kB / 1.592 GB, free: 15.89 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.8012, allocations: 43.92 kB / 1.592 GB, free: 15.84 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.0002759/0.8015, allocations: 236 kB / 1.592 GB, free: 15.61 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.8017, allocations: 131.1 kB / 1.592 GB, free: 15.48 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.8034, allocations: 0.6263 MB / 1.593 GB, free: 14.84 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.8034, allocations: 0 / 1.593 GB, free: 14.84 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/0.8034, allocations: 8 kB / 1.593 GB, free: 14.83 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.8034, allocations: 0 / 1.593 GB, free: 14.83 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003548/0.807, allocations: 1.65 MB / 1.594 GB, free: 13.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.807, allocations: 4 kB / 1.594 GB, free: 13.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/0.8075, allocations: 87.95 kB / 1.594 GB, free: 13.01 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.8075, allocations: 7.984 kB / 1.594 GB, free: 13 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.8075, allocations: 19.92 kB / 1.594 GB, free: 12.98 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.8075, allocations: 8 kB / 1.594 GB, free: 12.98 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.8075, allocations: 8 kB / 1.594 GB, free: 12.97 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.8092, allocations: 0.7705 MB / 1.595 GB, free: 12.14 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004658/0.8096, allocations: 179.1 kB / 1.595 GB, free: 11.96 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.8098, allocations: 15.92 kB / 1.595 GB, free: 11.95 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008991/0.8107, allocations: 59.94 kB / 1.595 GB, free: 11.89 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.8108, allocations: 39.83 kB / 1.595 GB, free: 11.85 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.8108, allocations: 19.98 kB / 1.595 GB, free: 11.83 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0012/0.812, allocations: 0.7502 MB / 1.596 GB, free: 11.07 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.812, allocations: 0 / 1.596 GB, free: 11.07 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002012/0.814, allocations: 0.643 MB / 1.597 GB, free: 10.43 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.0004858/0.8145, allocations: 250.8 kB / 1.597 GB, free: 10.18 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002865/0.8174, allocations: 1.092 MB / 1.598 GB, free: 9.09 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.8174, allocations: 0 / 1.598 GB, free: 9.09 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006616/0.8181, allocations: 248 kB / 1.598 GB, free: 8.848 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.8201, allocations: 450.3 kB / 1.599 GB, free: 8.418 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005224/0.8253, allocations: 2.236 MB / 1.601 GB, free: 6.098 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007416/0.8261, allocations: 0.5943 MB / 1.602 GB, free: 5.469 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001246/0.8273, allocations: 344.6 kB / 1.602 GB, free: 5.129 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.8276, allocations: 75.42 kB / 1.602 GB, free: 5.055 MB / 1.295 GB Notification: Performance of SimCode: time 7.71e-07/0.8276, allocations: 0 / 1.602 GB, free: 5.055 MB / 1.295 GB Notification: Performance of Templates: time 0.7733/1.601, allocations: 20.12 MB / 1.622 GB, free: 278.3 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 -s cvode -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: 10.633870726989699]