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.001418/0.001418, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.00155/0.00155, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.467/1.467, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 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.883/2.883, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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 2.124e-06/2.124e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.245e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.3273/0.3274, allocations: 210.7 MB / 0.9921 GB, free: 9.465 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.04314/0.3705, allocations: 14.6 MB / 1.006 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00328/0.3738, allocations: 87.25 kB / 1.006 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.005824/0.3796, allocations: 1.017 MB / 1.007 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.01636/0.396, allocations: 3.187 MB / 1.011 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00887/0.4048, allocations: 1.772 MB / 1.012 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.007723/0.4126, allocations: 3.514 MB / 1.016 GB, free: 1.207 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.4151, allocations: 1.034 MB / 1.017 GB, free: 140 kB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008325/0.4235, allocations: 3.061 MB / 1.02 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/0.4262, allocations: 1.004 MB / 1.021 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0004272/0.4266, allocations: 116 kB / 1.021 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005929/0.4325, allocations: 2.605 MB / 1.023 GB, free: 9.406 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0008481/0.4334, allocations: 0.5138 MB / 1.024 GB, free: 8.891 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.4347, allocations: 0.5455 MB / 1.024 GB, free: 8.344 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.006393/0.4411, allocations: 3.007 MB / 1.027 GB, free: 5.328 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4411, allocations: 0 / 1.027 GB, free: 5.328 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4411, allocations: 0 / 1.027 GB, free: 5.328 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.584e-05/0.4411, allocations: 0 / 1.027 GB, free: 5.328 MB / 0.9792 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.004586/0.4457, allocations: 1.985 MB / 1.029 GB, free: 3.305 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.4458, allocations: 12.03 kB / 1.029 GB, free: 3.293 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/0.449, allocations: 0.6425 MB / 1.03 GB, free: 2.648 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002682/0.4517, allocations: 1.199 MB / 1.031 GB, free: 1.398 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.4518, allocations: 85.92 kB / 1.031 GB, free: 1.316 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.452, allocations: 100 kB / 1.031 GB, free: 1.219 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/0.4549, allocations: 1.45 MB / 1.033 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.4549, allocations: 11.92 kB / 1.033 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.455, allocations: 47.98 kB / 1.033 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.276e-05/0.4551, allocations: 42 kB / 1.033 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002839/0.4579, allocations: 1.054 MB / 1.034 GB, free: 14.47 MB / 0.9948 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.009305/0.4672, allocations: 5.831 MB / 1.039 GB, free: 8.434 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.469, allocations: 0.523 MB / 1.04 GB, free: 7.902 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.4696, allocations: 245.2 kB / 1.04 GB, free: 7.66 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003145/0.4699, allocations: 64.17 kB / 1.04 GB, free: 7.598 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.47, allocations: 38.84 kB / 1.04 GB, free: 7.551 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=33): time 2.475e-06/0.47, allocations: 0 / 1.04 GB, free: 7.551 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33): time 0.002683/0.4727, allocations: 0.8377 MB / 1.041 GB, free: 6.707 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.4727, allocations: 55.41 kB / 1.041 GB, free: 6.641 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.4747, allocations: 1.125 MB / 1.042 GB, free: 5.508 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.883e-05/0.4747, allocations: 37.7 kB / 1.042 GB, free: 5.465 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007555/0.4755, allocations: 0.7453 MB / 1.043 GB, free: 4.711 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.4757, allocations: 127 kB / 1.043 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/0.476, allocations: 158.5 kB / 1.043 GB, free: 4.422 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.4762, allocations: 337.9 kB / 1.044 GB, free: 4.086 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009334/0.4771, allocations: 312.6 kB / 1.044 GB, free: 3.777 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.4786, allocations: 0.965 MB / 1.045 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.4808, allocations: 0.9267 MB / 1.046 GB, free: 1.484 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.4808, allocations: 4 kB / 1.046 GB, free: 1.48 MB / 0.9948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00277/0.4836, allocations: 1.076 MB / 1.047 GB, free: 408 kB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.4836, allocations: 8 kB / 1.047 GB, free: 400 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.219e-05/0.4837, allocations: 12 kB / 1.047 GB, free: 388 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.806e-05/0.4837, allocations: 19.94 kB / 1.047 GB, free: 368 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009376/0.4846, allocations: 203.9 kB / 1.047 GB, free: 164 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.161e-05/0.4847, allocations: 23.92 kB / 1.047 GB, free: 140 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4037/0.8883, allocations: 154.4 kB / 1.047 GB, free: 303.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/0.8885, allocations: 44.88 kB / 1.047 GB, free: 303.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001284/0.8898, allocations: 0.5634 MB / 1.048 GB, free: 303.5 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009645/0.8908, allocations: 0.9601 MB / 1.049 GB, free: 302.7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001418/0.8922, allocations: 0.9317 MB / 1.05 GB, free: 302.3 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.05e-06/0.8922, allocations: 3.531 kB / 1.05 GB, free: 302.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002132/0.8944, allocations: 1.062 MB / 1.051 GB, free: 302 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.8944, allocations: 12.5 kB / 1.051 GB, free: 302 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.8944, allocations: 12.09 kB / 1.051 GB, free: 302 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.8944, allocations: 17.09 kB / 1.051 GB, free: 302 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007672/0.8952, allocations: 208.8 kB / 1.051 GB, free: 302 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.8952, allocations: 24.91 kB / 1.051 GB, free: 302 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.8963, allocations: 133 kB / 1.051 GB, free: 301.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.8964, allocations: 41.7 kB / 1.051 GB, free: 301.9 MB / 0.9948 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.0002392/0.8966, allocations: 236.4 kB / 1.051 GB, free: 301.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.8968, allocations: 135.2 kB / 1.051 GB, free: 301.7 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.8983, allocations: 0.6212 MB / 1.052 GB, free: 301.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.8983, allocations: 3.719 kB / 1.052 GB, free: 301.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.8984, allocations: 6.344 kB / 1.052 GB, free: 301.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.8984, allocations: 0 / 1.052 GB, free: 301.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.9013, allocations: 1.655 MB / 1.054 GB, free: 300.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.9013, allocations: 2.688 kB / 1.054 GB, free: 300.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.9017, allocations: 88.2 kB / 1.054 GB, free: 300.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.9017, allocations: 6.844 kB / 1.054 GB, free: 300.7 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.9018, allocations: 12.42 kB / 1.054 GB, free: 300.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.9018, allocations: 5.812 kB / 1.054 GB, free: 300.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.9018, allocations: 15.14 kB / 1.054 GB, free: 300.7 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.9031, allocations: 0.7778 MB / 1.055 GB, free: 300.3 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.9035, allocations: 189.6 kB / 1.055 GB, free: 300.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.9037, allocations: 9.844 kB / 1.055 GB, free: 300.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008863/0.9045, allocations: 68.09 kB / 1.055 GB, free: 300.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.9046, allocations: 35.34 kB / 1.055 GB, free: 300.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.9047, allocations: 20.61 kB / 1.055 GB, free: 300.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0009359/0.9056, allocations: 0.7607 MB / 1.056 GB, free: 299.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9056, allocations: 3.906 kB / 1.056 GB, free: 299.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001771/0.9074, allocations: 0.6521 MB / 1.056 GB, free: 299.8 MB / 0.9948 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.0004377/0.9078, allocations: 249.2 kB / 1.057 GB, free: 299.7 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002516/0.9103, allocations: 1.097 MB / 1.058 GB, free: 299.4 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.9103, allocations: 0 / 1.058 GB, free: 299.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.9109, allocations: 254.1 kB / 1.058 GB, free: 299.4 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/0.9131, allocations: 494.6 kB / 1.058 GB, free: 299.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004387/0.9175, allocations: 2.229 MB / 1.061 GB, free: 298.1 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.918, allocations: 0.5957 MB / 1.061 GB, free: 297.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001136/0.9191, allocations: 341.3 kB / 1.061 GB, free: 297.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.9193, allocations: 82.23 kB / 1.061 GB, free: 297.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.212e-06/0.9193, allocations: 0 / 1.061 GB, free: 297.9 MB / 0.9948 GB Notification: Performance of Templates: time 0.03255/0.9519, allocations: 17.91 MB / 1.079 GB, free: 296 MB / 0.9948 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.599738453049213]