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.001559/0.001559, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001742/0.001742, allocations: 213.7 kB / 22.99 MB, free: 4.945 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.462/1.462, 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.17/3.17, allocations: 0.4892 GB / 0.7951 GB, free: 35.52 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.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.002062/0.002062, allocations: 71.11 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3402, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08165/0.4218, allocations: 71.13 MB / 1.396 GB, free: 10.49 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02811/0.4499, allocations: 17.58 MB / 1.413 GB, free: 8.867 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004021/0.454, allocations: 158.6 kB / 1.413 GB, free: 8.711 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004615/0.4586, allocations: 1.238 MB / 1.414 GB, free: 7.465 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.4704, allocations: 3.868 MB / 1.418 GB, free: 3.582 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006195/0.4766, allocations: 2.144 MB / 1.42 GB, free: 1.457 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01148/0.488, allocations: 6.815 MB / 1.427 GB, free: 10.62 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003408/0.4915, allocations: 1.576 MB / 1.428 GB, free: 8.996 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007439/0.4989, allocations: 2.748 MB / 1.431 GB, free: 6.25 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004022/0.5029, allocations: 1.761 MB / 1.433 GB, free: 4.48 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006043/0.5035, allocations: 200 kB / 1.433 GB, free: 4.285 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004186/0.5077, allocations: 1.329 MB / 1.434 GB, free: 2.953 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007275/0.5084, allocations: 0.5679 MB / 1.435 GB, free: 2.383 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.5103, allocations: 1.011 MB / 1.436 GB, free: 1.367 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006689/0.517, allocations: 3.799 MB / 1.44 GB, free: 13.55 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.517, allocations: 0 / 1.44 GB, free: 13.55 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.434e-06/0.517, allocations: 0 / 1.44 GB, free: 13.55 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.755e-05/0.517, allocations: 0 / 1.44 GB, free: 13.55 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.005259/0.5223, allocations: 2.723 MB / 1.442 GB, free: 10.78 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.5223, allocations: 11.97 kB / 1.442 GB, free: 10.77 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008084/0.5232, allocations: 279.3 kB / 1.442 GB, free: 10.5 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003759/0.5269, allocations: 1.979 MB / 1.444 GB, free: 8.477 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.991e-05/0.527, allocations: 106.7 kB / 1.444 GB, free: 8.371 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.5272, allocations: 144 kB / 1.445 GB, free: 8.23 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/0.5302, allocations: 1.821 MB / 1.446 GB, free: 6.258 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.5303, allocations: 4 kB / 1.446 GB, free: 6.254 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.5304, allocations: 56 kB / 1.446 GB, free: 6.199 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.592e-05/0.5304, allocations: 39.98 kB / 1.446 GB, free: 6.16 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.5327, allocations: 1.122 MB / 1.448 GB, free: 5.031 MB / 1.139 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.00871/0.5414, allocations: 5.104 MB / 1.453 GB, free: 15.78 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.5424, allocations: 429 kB / 1.453 GB, free: 15.35 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006467/0.5431, allocations: 311.7 kB / 1.453 GB, free: 15.05 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003999/0.5435, allocations: 116.4 kB / 1.453 GB, free: 14.93 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.5435, allocations: 43.06 kB / 1.453 GB, free: 14.88 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 2.945e-06/0.5435, allocations: 0 / 1.453 GB, free: 14.88 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.00244/0.546, allocations: 0.9449 MB / 1.454 GB, free: 13.93 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.546, allocations: 55.91 kB / 1.454 GB, free: 13.86 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.5483, allocations: 1.555 MB / 1.456 GB, free: 12.31 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.041e-05/0.5484, allocations: 45.7 kB / 1.456 GB, free: 12.26 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009158/0.5493, allocations: 0.9629 MB / 1.457 GB, free: 11.29 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.5496, allocations: 230.1 kB / 1.457 GB, free: 11.06 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003578/0.5499, allocations: 222.8 kB / 1.457 GB, free: 10.84 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.5501, allocations: 345.9 kB / 1.458 GB, free: 10.5 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007099/0.5508, allocations: 334.3 kB / 1.458 GB, free: 10.17 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.5521, allocations: 0.9699 MB / 1.459 GB, free: 8.977 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.5539, allocations: 1.013 MB / 1.46 GB, free: 7.828 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.5539, allocations: 7.938 kB / 1.46 GB, free: 7.82 MB / 1.154 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002538/0.5564, allocations: 1.211 MB / 1.461 GB, free: 6.602 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.5565, allocations: 8 kB / 1.461 GB, free: 6.594 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.5565, allocations: 8 kB / 1.461 GB, free: 6.586 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/0.5565, allocations: 16 kB / 1.461 GB, free: 6.57 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.5576, allocations: 287.6 kB / 1.461 GB, free: 6.289 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.633e-05/0.5576, allocations: 19.92 kB / 1.461 GB, free: 6.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.5589, allocations: 139.3 kB / 1.462 GB, free: 6.133 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.739e-05/0.5589, allocations: 51.98 kB / 1.462 GB, free: 6.082 MB / 1.154 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.0008697/0.5598, allocations: 443.1 kB / 1.462 GB, free: 5.641 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/0.5602, allocations: 174.9 kB / 1.462 GB, free: 5.469 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/0.5621, allocations: 0.863 MB / 1.463 GB, free: 4.598 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.5621, allocations: 12 kB / 1.463 GB, free: 4.586 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5621, allocations: 0 / 1.463 GB, free: 4.586 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001446/0.5635, allocations: 0.8018 MB / 1.464 GB, free: 3.734 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004087/0.5676, allocations: 2.08 MB / 1.466 GB, free: 1.594 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.5676, allocations: 4 kB / 1.466 GB, free: 1.59 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007668/0.5684, allocations: 180 kB / 1.466 GB, free: 1.414 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-05/0.5684, allocations: 8 kB / 1.466 GB, free: 1.406 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.5685, allocations: 19.92 kB / 1.466 GB, free: 1.387 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.5685, allocations: 7.938 kB / 1.466 GB, free: 1.379 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5685, allocations: 4 kB / 1.466 GB, free: 1.375 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.571, allocations: 1.336 MB / 1.467 GB, free: 0 / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006966/0.5717, allocations: 254.8 kB / 1.468 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.5718, allocations: 19.92 kB / 1.468 GB, free: 15.73 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/0.5727, allocations: 55.94 kB / 1.468 GB, free: 15.67 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.5728, allocations: 52.41 kB / 1.468 GB, free: 15.62 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-05/0.5729, allocations: 31.97 kB / 1.468 GB, free: 15.59 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001528/0.5744, allocations: 1.025 MB / 1.469 GB, free: 14.57 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5744, allocations: 0 / 1.469 GB, free: 14.57 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001881/0.5763, allocations: 0.6896 MB / 1.469 GB, free: 13.88 MB / 1.17 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.001072/0.5773, allocations: 0.5977 MB / 1.47 GB, free: 13.28 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.5791, allocations: 0.7852 MB / 1.471 GB, free: 12.5 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.5792, allocations: 4.125 kB / 1.471 GB, free: 12.5 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007302/0.5799, allocations: 338.6 kB / 1.471 GB, free: 12.16 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003934/0.5838, allocations: 0.9098 MB / 1.472 GB, free: 11.27 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.5891, allocations: 3.11 MB / 1.475 GB, free: 8.098 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008847/0.59, allocations: 0.8176 MB / 1.476 GB, free: 7.246 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004117/0.5904, allocations: 139.4 kB / 1.476 GB, free: 7.109 MB / 1.17 GB Notification: Performance of SimCode: time 1.082e-06/0.5904, allocations: 0 / 1.476 GB, free: 7.109 MB / 1.17 GB Notification: Performance of Templates: time 0.05402/0.6444, allocations: 32.58 MB / 1.508 GB, free: 6.773 MB / 1.201 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/jenkins1/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: 16.874317755922675]