Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.00125/0.00125, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001405/0.001405, allocations: 211.2 kB / 22.25 MB, free: 5.086 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.365/1.365, allocations: 230.6 MB / 256 MB, free: 8 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 2.985/2.985, allocations: 0.49 GB / 0.795 GB, free: 33.56 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.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [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.001891/0.001891, allocations: 72.62 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3048, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07905/0.3838, allocations: 78.94 MB / 1.403 GB, free: 2.227 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02721/0.411, allocations: 18.98 MB / 1.422 GB, free: 15.21 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003241/0.4143, allocations: 158.7 kB / 1.422 GB, free: 15.05 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.003283/0.4176, allocations: 1.308 MB / 1.423 GB, free: 13.73 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00969/0.4273, allocations: 3.9 MB / 1.427 GB, free: 9.82 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005016/0.4323, allocations: 2.2 MB / 1.429 GB, free: 7.637 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.008737/0.441, allocations: 6.853 MB / 1.436 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002342/0.4433, allocations: 1.591 MB / 1.438 GB, free: 15.12 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006371/0.4497, allocations: 2.738 MB / 1.44 GB, free: 12.39 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00308/0.4528, allocations: 1.834 MB / 1.442 GB, free: 10.55 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003342/0.4531, allocations: 200 kB / 1.442 GB, free: 10.36 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003868/0.457, allocations: 1.766 MB / 1.444 GB, free: 8.586 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005656/0.4576, allocations: 0.564 MB / 1.445 GB, free: 8.02 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.459, allocations: 1.26 MB / 1.446 GB, free: 6.754 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004958/0.4639, allocations: 3.858 MB / 1.45 GB, free: 2.883 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4639, allocations: 0 / 1.45 GB, free: 2.883 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4639, allocations: 3.938 kB / 1.45 GB, free: 2.879 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.232e-05/0.464, allocations: 0 / 1.45 GB, free: 2.879 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004094/0.468, allocations: 2.723 MB / 1.452 GB, free: 108 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4681, allocations: 8.031 kB / 1.452 GB, free: 100 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006512/0.4687, allocations: 279.3 kB / 1.452 GB, free: 15.82 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003336/0.4721, allocations: 1.992 MB / 1.454 GB, free: 13.79 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.031e-05/0.4722, allocations: 102.7 kB / 1.454 GB, free: 13.69 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.4724, allocations: 144 kB / 1.455 GB, free: 13.55 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.4748, allocations: 1.52 MB / 1.456 GB, free: 11.95 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.4749, allocations: 4 kB / 1.456 GB, free: 11.95 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.475, allocations: 56 kB / 1.456 GB, free: 11.89 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/0.475, allocations: 40 kB / 1.456 GB, free: 11.86 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.4772, allocations: 1.126 MB / 1.457 GB, free: 10.72 MB / 1.154 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.008435/0.4856, allocations: 7.854 MB / 1.465 GB, free: 2.215 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009115/0.4865, allocations: 441 kB / 1.465 GB, free: 1.777 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006038/0.4871, allocations: 306.2 kB / 1.466 GB, free: 1.477 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003967/0.4875, allocations: 104.5 kB / 1.466 GB, free: 1.375 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.4876, allocations: 51 kB / 1.466 GB, free: 1.316 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 2.124e-06/0.4876, allocations: 0 / 1.466 GB, free: 1.316 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.002075/0.4897, allocations: 0.9682 MB / 1.467 GB, free: 348 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.4897, allocations: 63.84 kB / 1.467 GB, free: 272 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002449/0.4921, allocations: 1.799 MB / 1.469 GB, free: 14.43 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.215e-05/0.4922, allocations: 41.7 kB / 1.469 GB, free: 14.38 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.4932, allocations: 0.9491 MB / 1.47 GB, free: 13.43 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.00029/0.4935, allocations: 230.1 kB / 1.47 GB, free: 13.2 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003375/0.4939, allocations: 226.8 kB / 1.47 GB, free: 12.97 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.494, allocations: 353.9 kB / 1.47 GB, free: 12.62 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007384/0.4948, allocations: 330.4 kB / 1.471 GB, free: 12.3 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.4958, allocations: 0.6938 MB / 1.471 GB, free: 11.45 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.4976, allocations: 1.013 MB / 1.472 GB, free: 10.3 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.4976, allocations: 4 kB / 1.472 GB, free: 10.3 MB / 1.17 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002906/0.5005, allocations: 1.227 MB / 1.474 GB, free: 9.059 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.5005, allocations: 15.94 kB / 1.474 GB, free: 9.043 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.5005, allocations: 8 kB / 1.474 GB, free: 9.035 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.919e-05/0.5006, allocations: 16 kB / 1.474 GB, free: 9.02 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009995/0.5016, allocations: 291.5 kB / 1.474 GB, free: 8.734 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.493e-05/0.5016, allocations: 19.94 kB / 1.474 GB, free: 8.715 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.5028, allocations: 170.9 kB / 1.474 GB, free: 8.547 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.224e-05/0.5029, allocations: 55.98 kB / 1.474 GB, free: 8.492 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0008159/0.5037, allocations: 437.3 kB / 1.474 GB, free: 8.055 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/0.504, allocations: 198.7 kB / 1.475 GB, free: 7.859 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.5058, allocations: 0.8829 MB / 1.476 GB, free: 6.969 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.5058, allocations: 4 kB / 1.476 GB, free: 6.965 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5058, allocations: 4 kB / 1.476 GB, free: 6.961 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001317/0.5071, allocations: 0.8018 MB / 1.476 GB, free: 6.109 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004019/0.5111, allocations: 2.433 MB / 1.479 GB, free: 3.594 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.5112, allocations: 3.938 kB / 1.479 GB, free: 3.59 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007582/0.5119, allocations: 180 kB / 1.479 GB, free: 3.414 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.5119, allocations: 4 kB / 1.479 GB, free: 3.41 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.512, allocations: 23.98 kB / 1.479 GB, free: 3.387 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.512, allocations: 7.938 kB / 1.479 GB, free: 3.379 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.512, allocations: 4 kB / 1.479 GB, free: 3.375 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.5143, allocations: 1.363 MB / 1.48 GB, free: 1.973 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006707/0.515, allocations: 302.4 kB / 1.481 GB, free: 1.676 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.5152, allocations: 12 kB / 1.481 GB, free: 1.664 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008913/0.5161, allocations: 63.91 kB / 1.481 GB, free: 1.602 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.5162, allocations: 52.41 kB / 1.481 GB, free: 1.547 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.9e-05/0.5163, allocations: 39.97 kB / 1.481 GB, free: 1.508 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001691/0.5179, allocations: 1.248 MB / 1.482 GB, free: 248 kB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5179, allocations: 4 kB / 1.482 GB, free: 244 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.001761/0.5197, allocations: 0.6626 MB / 1.483 GB, free: 15.57 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0009617/0.5207, allocations: 0.5916 MB / 1.483 GB, free: 14.98 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.5224, allocations: 0.7891 MB / 1.484 GB, free: 14.2 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5224, allocations: 256 / 1.484 GB, free: 14.2 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006948/0.5231, allocations: 338.6 kB / 1.484 GB, free: 13.86 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004761/0.5278, allocations: 1.205 MB / 1.485 GB, free: 12.68 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/0.5331, allocations: 3.133 MB / 1.488 GB, free: 9.484 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.5342, allocations: 1.409 MB / 1.49 GB, free: 8.043 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001244/0.5354, allocations: 373.5 kB / 1.49 GB, free: 7.68 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.5357, allocations: 147.3 kB / 1.49 GB, free: 7.535 MB / 1.186 GB Notification: Performance of SimCode: time 9.42e-07/0.5357, allocations: 0 / 1.49 GB, free: 7.535 MB / 1.186 GB Notification: Performance of Templates: time 0.07069/0.6064, allocations: 42.82 MB / 1.532 GB, free: 13.24 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.598134369123727]