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.001758/0.001758, 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.002183/0.002183, allocations: 213.1 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.201/3.201, allocations: 0.49 GB / 0.7959 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.002142/0.002142, allocations: 63.72 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3229, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07999/0.4028, allocations: 71.13 MB / 1.397 GB, free: 9.582 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02742/0.4303, allocations: 17.59 MB / 1.414 GB, free: 7.957 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00338/0.4336, allocations: 158.6 kB / 1.414 GB, free: 7.801 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00343/0.4371, allocations: 1.238 MB / 1.415 GB, free: 6.555 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.4474, allocations: 3.888 MB / 1.419 GB, free: 2.652 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006429/0.4538, allocations: 2.165 MB / 1.421 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01151/0.4654, allocations: 6.861 MB / 1.428 GB, free: 9.629 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002946/0.4683, allocations: 1.603 MB / 1.429 GB, free: 7.977 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006613/0.4749, allocations: 2.752 MB / 1.432 GB, free: 5.227 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003501/0.4784, allocations: 1.841 MB / 1.434 GB, free: 3.379 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004864/0.4789, allocations: 200 kB / 1.434 GB, free: 3.184 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.4826, allocations: 1.337 MB / 1.435 GB, free: 1.844 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006826/0.4833, allocations: 0.5641 MB / 1.436 GB, free: 1.277 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001567/0.4849, allocations: 1.011 MB / 1.437 GB, free: 268 kB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006445/0.4913, allocations: 3.803 MB / 1.44 GB, free: 12.45 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4913, allocations: 0 / 1.44 GB, free: 12.45 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4913, allocations: 0 / 1.44 GB, free: 12.45 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.442e-05/0.4914, allocations: 3.938 kB / 1.44 GB, free: 12.44 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.005133/0.4965, allocations: 2.719 MB / 1.443 GB, free: 9.672 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.4965, allocations: 8.031 kB / 1.443 GB, free: 9.664 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007558/0.4973, allocations: 279.3 kB / 1.443 GB, free: 9.391 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/0.501, allocations: 1.975 MB / 1.445 GB, free: 7.375 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.723e-05/0.5011, allocations: 106.7 kB / 1.445 GB, free: 7.27 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.5013, allocations: 144 kB / 1.446 GB, free: 7.129 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002932/0.5042, allocations: 1.825 MB / 1.447 GB, free: 5.152 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/0.5042, allocations: 4 kB / 1.447 GB, free: 5.148 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.5044, allocations: 59.98 kB / 1.447 GB, free: 5.09 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.845e-05/0.5044, allocations: 39.94 kB / 1.447 GB, free: 5.051 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.5067, allocations: 1.119 MB / 1.449 GB, free: 3.926 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.007327/0.514, allocations: 5.112 MB / 1.454 GB, free: 14.67 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009603/0.5149, allocations: 445 kB / 1.454 GB, free: 14.23 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006407/0.5156, allocations: 307.4 kB / 1.454 GB, free: 13.93 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003872/0.516, allocations: 112.4 kB / 1.454 GB, free: 13.82 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.516, allocations: 43.06 kB / 1.454 GB, free: 13.77 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 2.424e-06/0.516, allocations: 0 / 1.454 GB, free: 13.77 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.002197/0.5182, allocations: 0.9449 MB / 1.455 GB, free: 12.81 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.5183, allocations: 55.91 kB / 1.455 GB, free: 12.75 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.5202, allocations: 1.555 MB / 1.457 GB, free: 11.19 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.5203, allocations: 45.7 kB / 1.457 GB, free: 11.14 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008024/0.5211, allocations: 0.963 MB / 1.458 GB, free: 10.17 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.5213, allocations: 226.1 kB / 1.458 GB, free: 9.945 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/0.5216, allocations: 222.8 kB / 1.458 GB, free: 9.723 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.5218, allocations: 345.9 kB / 1.459 GB, free: 9.379 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007088/0.5225, allocations: 330.4 kB / 1.459 GB, free: 9.055 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.5237, allocations: 0.9699 MB / 1.46 GB, free: 7.863 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.5254, allocations: 1.017 MB / 1.461 GB, free: 6.711 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.5254, allocations: 4 kB / 1.461 GB, free: 6.707 MB / 1.154 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00232/0.5277, allocations: 1.204 MB / 1.462 GB, free: 5.492 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.5278, allocations: 11.98 kB / 1.462 GB, free: 5.48 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.5278, allocations: 8 kB / 1.462 GB, free: 5.473 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/0.5278, allocations: 16 kB / 1.462 GB, free: 5.457 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.5289, allocations: 287.6 kB / 1.462 GB, free: 5.176 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/0.5289, allocations: 15.94 kB / 1.462 GB, free: 5.16 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.5299, allocations: 143.3 kB / 1.463 GB, free: 5.02 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.439e-05/0.53, allocations: 51.98 kB / 1.463 GB, free: 4.969 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.0007025/0.5307, allocations: 451 kB / 1.463 GB, free: 4.52 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.531, allocations: 174.9 kB / 1.463 GB, free: 4.348 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/0.5328, allocations: 0.8585 MB / 1.464 GB, free: 3.48 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.5328, allocations: 8 kB / 1.464 GB, free: 3.473 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.5328, allocations: 0 / 1.464 GB, free: 3.473 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001377/0.5342, allocations: 0.8095 MB / 1.465 GB, free: 2.613 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003828/0.538, allocations: 2.076 MB / 1.467 GB, free: 488 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.538, allocations: 4.25 kB / 1.467 GB, free: 484 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008197/0.5388, allocations: 183.7 kB / 1.467 GB, free: 300 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.5388, allocations: 8 kB / 1.467 GB, free: 292 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.5389, allocations: 19.92 kB / 1.467 GB, free: 272 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.5389, allocations: 4 kB / 1.467 GB, free: 268 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5389, allocations: 4 kB / 1.467 GB, free: 264 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.5413, allocations: 1.329 MB / 1.468 GB, free: 14.89 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006132/0.5419, allocations: 262.7 kB / 1.469 GB, free: 14.63 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.5421, allocations: 23.94 kB / 1.469 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008657/0.543, allocations: 59.86 kB / 1.469 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.5431, allocations: 48.52 kB / 1.469 GB, free: 14.5 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.578e-05/0.5432, allocations: 39.91 kB / 1.469 GB, free: 14.46 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001413/0.5446, allocations: 1.025 MB / 1.47 GB, free: 13.45 MB / 1.17 GB Notification: Performance of sort global known variables: time 5e-08/0.5446, allocations: 0 / 1.47 GB, free: 13.45 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001829/0.5464, allocations: 0.6896 MB / 1.47 GB, free: 12.75 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.001045/0.5475, allocations: 0.5845 MB / 1.471 GB, free: 12.16 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.5492, allocations: 0.7851 MB / 1.472 GB, free: 11.39 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5492, allocations: 320 / 1.472 GB, free: 11.39 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007329/0.55, allocations: 342.5 kB / 1.472 GB, free: 11.05 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004013/0.554, allocations: 0.9152 MB / 1.473 GB, free: 10.16 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/0.559, allocations: 3.07 MB / 1.476 GB, free: 7.023 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009192/0.5599, allocations: 0.8346 MB / 1.477 GB, free: 6.152 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001294/0.5612, allocations: 330.9 kB / 1.477 GB, free: 5.828 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.5615, allocations: 131.3 kB / 1.477 GB, free: 5.699 MB / 1.17 GB Notification: Performance of SimCode: time 1.673e-06/0.5615, allocations: 4 kB / 1.477 GB, free: 5.695 MB / 1.17 GB Notification: Performance of Templates: time 0.0636/0.6251, allocations: 39.85 MB / 1.516 GB, free: 14.63 MB / 1.217 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 -s gbode -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: 10.026214090990834]