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.001779/0.001779, allocations: 77.78 kB / 19.76 MB, free: 2.027 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.002179/0.002179, allocations: 159.3 kB / 23.01 MB, free: 4.949 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.473/1.473, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.66/2.66, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002301/0.002301, allocations: 67.89 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3162, allocations: 169.9 MB / 1.117 GB, free: 2.527 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8596/1.176, allocations: 211 MB / 1.324 GB, free: 1.453 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02291/1.199, allocations: 14.6 MB / 1.338 GB, free: 6.004 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00256/1.201, allocations: 82.31 kB / 1.338 GB, free: 5.961 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002898/1.204, allocations: 1.007 MB / 1.339 GB, free: 5.137 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.008676/1.213, allocations: 3.111 MB / 1.342 GB, free: 2.285 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004801/1.218, allocations: 1.695 MB / 1.344 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005187/1.223, allocations: 3.466 MB / 1.347 GB, free: 13.13 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/1.224, allocations: 0.995 MB / 1.348 GB, free: 12.11 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006529/1.231, allocations: 2.635 MB / 1.35 GB, free: 9.48 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/1.233, allocations: 1.09 MB / 1.352 GB, free: 8.402 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002608/1.234, allocations: 116 kB / 1.352 GB, free: 8.289 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005528/1.239, allocations: 2.571 MB / 1.354 GB, free: 5.711 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000624/1.24, allocations: 490.2 kB / 1.355 GB, free: 5.23 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001026/1.241, allocations: 0.6531 MB / 1.355 GB, free: 4.574 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006333/1.247, allocations: 2.912 MB / 1.358 GB, free: 1.652 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/1.247, allocations: 8 kB / 1.358 GB, free: 1.645 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.473e-06/1.247, allocations: 0 / 1.358 GB, free: 1.645 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.864e-05/1.247, allocations: 3.984 kB / 1.358 GB, free: 1.641 MB / 1.186 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.003928/1.251, allocations: 1.985 MB / 1.36 GB, free: 15.61 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.251, allocations: 12.03 kB / 1.36 GB, free: 15.6 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002878/1.254, allocations: 0.5102 MB / 1.361 GB, free: 15.09 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/1.257, allocations: 1.097 MB / 1.362 GB, free: 13.95 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/1.257, allocations: 78 kB / 1.362 GB, free: 13.87 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/1.257, allocations: 96 kB / 1.362 GB, free: 13.77 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002591/1.259, allocations: 1.454 MB / 1.363 GB, free: 12.18 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/1.259, allocations: 7.938 kB / 1.363 GB, free: 12.17 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/1.26, allocations: 43.98 kB / 1.363 GB, free: 12.12 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.175e-05/1.26, allocations: 45.98 kB / 1.363 GB, free: 12.08 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/1.262, allocations: 1.046 MB / 1.364 GB, free: 11.04 MB / 1.201 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.007689/1.27, allocations: 5.794 MB / 1.37 GB, free: 5.039 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/1.271, allocations: 0.523 MB / 1.371 GB, free: 4.508 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000674/1.272, allocations: 249.2 kB / 1.371 GB, free: 4.262 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/1.272, allocations: 56.23 kB / 1.371 GB, free: 4.207 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/1.272, allocations: 38.78 kB / 1.371 GB, free: 4.16 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 2.214e-06/1.272, allocations: 0 / 1.371 GB, free: 4.16 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.002536/1.275, allocations: 0.8222 MB / 1.372 GB, free: 3.332 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/1.275, allocations: 55.41 kB / 1.372 GB, free: 3.266 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/1.277, allocations: 1.12 MB / 1.373 GB, free: 2.137 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.449e-05/1.277, allocations: 33.7 kB / 1.373 GB, free: 2.098 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006793/1.278, allocations: 0.7375 MB / 1.374 GB, free: 1.352 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/1.278, allocations: 119 kB / 1.374 GB, free: 1.234 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003529/1.278, allocations: 174.5 kB / 1.374 GB, free: 1.059 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.278, allocations: 334 kB / 1.374 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008891/1.279, allocations: 312.6 kB / 1.374 GB, free: 428 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/1.28, allocations: 0.9611 MB / 1.375 GB, free: 15.21 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/1.283, allocations: 0.9337 MB / 1.376 GB, free: 14.12 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/1.283, allocations: 7.938 kB / 1.376 GB, free: 14.11 MB / 1.217 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002552/1.285, allocations: 1.028 MB / 1.377 GB, free: 13.08 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/1.285, allocations: 11.94 kB / 1.377 GB, free: 13.07 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/1.285, allocations: 16.17 kB / 1.377 GB, free: 13.05 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/1.285, allocations: 19.98 kB / 1.377 GB, free: 13.03 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008716/1.286, allocations: 199.7 kB / 1.378 GB, free: 12.84 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.874e-05/1.286, allocations: 27.86 kB / 1.378 GB, free: 12.81 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/1.287, allocations: 155.3 kB / 1.378 GB, free: 12.66 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.581e-05/1.287, allocations: 47.98 kB / 1.378 GB, free: 12.61 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001337/1.289, allocations: 0.5643 MB / 1.378 GB, free: 12.04 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001368/1.29, allocations: 0.9612 MB / 1.379 GB, free: 10.84 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001874/1.292, allocations: 0.9215 MB / 1.38 GB, free: 9.754 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.425e-05/1.292, allocations: 4 kB / 1.38 GB, free: 9.75 MB / 1.217 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002528/1.295, allocations: 1.028 MB / 1.381 GB, free: 8.715 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/1.295, allocations: 8 kB / 1.381 GB, free: 8.707 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.295, allocations: 15.94 kB / 1.381 GB, free: 8.691 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/1.295, allocations: 16 kB / 1.381 GB, free: 8.676 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/1.295, allocations: 203.7 kB / 1.381 GB, free: 8.477 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-05/1.295, allocations: 23.92 kB / 1.381 GB, free: 8.453 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/1.297, allocations: 131.6 kB / 1.382 GB, free: 8.324 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/1.297, allocations: 43.98 kB / 1.382 GB, free: 8.281 MB / 1.217 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.0003582/1.297, allocations: 235.9 kB / 1.382 GB, free: 8.043 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/1.297, allocations: 119.2 kB / 1.382 GB, free: 7.926 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/1.299, allocations: 0.6389 MB / 1.383 GB, free: 7.273 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.299, allocations: 4 kB / 1.383 GB, free: 7.27 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.299, allocations: 0 / 1.383 GB, free: 7.27 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.299, allocations: 0 / 1.383 GB, free: 7.27 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003718/1.303, allocations: 1.653 MB / 1.384 GB, free: 5.539 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.303, allocations: 4 kB / 1.384 GB, free: 5.535 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005061/1.303, allocations: 92.08 kB / 1.384 GB, free: 5.445 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/1.303, allocations: 7.938 kB / 1.384 GB, free: 5.438 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/1.303, allocations: 19.92 kB / 1.384 GB, free: 5.418 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/1.303, allocations: 4 kB / 1.384 GB, free: 5.414 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.48e-05/1.303, allocations: 8.812 kB / 1.384 GB, free: 5.406 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/1.305, allocations: 0.7627 MB / 1.385 GB, free: 4.582 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004178/1.305, allocations: 183.1 kB / 1.385 GB, free: 4.402 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/1.305, allocations: 19.94 kB / 1.385 GB, free: 4.383 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009082/1.306, allocations: 59.92 kB / 1.385 GB, free: 4.324 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/1.306, allocations: 43.83 kB / 1.385 GB, free: 4.281 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.667e-05/1.307, allocations: 19.98 kB / 1.385 GB, free: 4.262 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001262/1.308, allocations: 0.742 MB / 1.386 GB, free: 3.516 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/1.308, allocations: 0 / 1.386 GB, free: 3.516 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001959/1.31, allocations: 0.643 MB / 1.387 GB, free: 2.871 MB / 1.217 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.0004783/1.31, allocations: 258.9 kB / 1.387 GB, free: 2.609 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003024/1.313, allocations: 1.085 MB / 1.388 GB, free: 1.527 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.313, allocations: 0 / 1.388 GB, free: 1.527 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006821/1.314, allocations: 253.4 kB / 1.388 GB, free: 1.281 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/1.316, allocations: 450.9 kB / 1.389 GB, free: 0.8594 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/1.321, allocations: 2.232 MB / 1.391 GB, free: 14.55 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007091/1.322, allocations: 0.5983 MB / 1.391 GB, free: 13.91 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001129/1.323, allocations: 332.7 kB / 1.392 GB, free: 13.59 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/1.323, allocations: 80.47 kB / 1.392 GB, free: 13.51 MB / 1.232 GB Notification: Performance of SimCode: time 7.61e-07/1.323, allocations: 0 / 1.392 GB, free: 13.51 MB / 1.232 GB Notification: Performance of Templates: time 0.03432/1.358, allocations: 17.77 MB / 1.409 GB, free: 12.15 MB / 1.248 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 -s ida -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/jenkins1/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.448435562080704]