Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001701/0.001701, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00186/0.00186, allocations: 221.4 kB / 23 MB, free: 4.914 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.267/3.267, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002117/0.002117, allocations: 66.8 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3593, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08876/0.448, allocations: 71.14 MB / 1.434 GB, free: 6.156 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03196/0.48, allocations: 17.57 MB / 1.451 GB, free: 4.539 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004438/0.4844, allocations: 154.7 kB / 1.451 GB, free: 4.387 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004603/0.489, allocations: 1.238 MB / 1.453 GB, free: 3.141 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01245/0.5015, allocations: 3.889 MB / 1.456 GB, free: 15.23 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005973/0.5074, allocations: 2.137 MB / 1.458 GB, free: 13.11 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01117/0.5186, allocations: 6.797 MB / 1.465 GB, free: 6.305 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003315/0.5219, allocations: 1.576 MB / 1.467 GB, free: 4.684 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008023/0.53, allocations: 2.745 MB / 1.469 GB, free: 1.938 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004183/0.5341, allocations: 1.761 MB / 1.471 GB, free: 172 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0007274/0.5349, allocations: 200 kB / 1.471 GB, free: 15.97 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004649/0.5395, allocations: 1.337 MB / 1.473 GB, free: 14.63 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.5406, allocations: 0.5601 MB / 1.473 GB, free: 14.07 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002217/0.5428, allocations: 1.015 MB / 1.474 GB, free: 13.05 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.007627/0.5504, allocations: 3.795 MB / 1.478 GB, free: 9.242 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5504, allocations: 0 / 1.478 GB, free: 9.242 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5504, allocations: 0 / 1.478 GB, free: 9.242 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.407e-05/0.5505, allocations: 0 / 1.478 GB, free: 9.242 MB / 1.17 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.005545/0.5561, allocations: 2.726 MB / 1.48 GB, free: 6.465 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5561, allocations: 8.031 kB / 1.48 GB, free: 6.457 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008923/0.557, allocations: 279.3 kB / 1.481 GB, free: 6.184 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004352/0.5613, allocations: 1.969 MB / 1.483 GB, free: 4.172 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.5615, allocations: 114.6 kB / 1.483 GB, free: 4.059 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/0.5617, allocations: 144 kB / 1.483 GB, free: 3.918 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003189/0.5649, allocations: 1.818 MB / 1.485 GB, free: 1.949 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/0.5649, allocations: 3.938 kB / 1.485 GB, free: 1.945 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.5651, allocations: 64 kB / 1.485 GB, free: 1.883 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.833e-05/0.5651, allocations: 39.98 kB / 1.485 GB, free: 1.844 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.5675, allocations: 1.115 MB / 1.486 GB, free: 0.7227 MB / 1.17 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.008673/0.5761, allocations: 5.108 MB / 1.491 GB, free: 11.47 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.5771, allocations: 442 kB / 1.491 GB, free: 11.03 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000649/0.5778, allocations: 311.9 kB / 1.492 GB, free: 10.73 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003885/0.5782, allocations: 104.4 kB / 1.492 GB, free: 10.62 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.5782, allocations: 47.05 kB / 1.492 GB, free: 10.57 MB / 1.186 GB Notification: Performance of pre-optimization done (n=59): time 2.895e-06/0.5782, allocations: 0 / 1.492 GB, free: 10.57 MB / 1.186 GB Notification: Performance of matching and sorting (n=59): time 0.002306/0.5805, allocations: 0.9449 MB / 1.493 GB, free: 9.617 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.5806, allocations: 63.89 kB / 1.493 GB, free: 9.543 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.5827, allocations: 1.54 MB / 1.494 GB, free: 8.004 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.5828, allocations: 45.7 kB / 1.494 GB, free: 7.953 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008259/0.5837, allocations: 0.9708 MB / 1.495 GB, free: 6.973 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.5839, allocations: 230.1 kB / 1.495 GB, free: 6.746 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.5842, allocations: 226.8 kB / 1.496 GB, free: 6.52 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5844, allocations: 345.9 kB / 1.496 GB, free: 6.176 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007097/0.5851, allocations: 330.4 kB / 1.496 GB, free: 5.852 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.5863, allocations: 0.966 MB / 1.497 GB, free: 4.66 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.588, allocations: 1.02 MB / 1.498 GB, free: 3.508 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.588, allocations: 4 kB / 1.498 GB, free: 3.504 MB / 1.186 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002534/0.5906, allocations: 1.195 MB / 1.499 GB, free: 2.297 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.5906, allocations: 8.875 kB / 1.499 GB, free: 2.289 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.5906, allocations: 12 kB / 1.499 GB, free: 2.277 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.033e-05/0.5907, allocations: 20 kB / 1.499 GB, free: 2.258 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.5917, allocations: 295.5 kB / 1.5 GB, free: 1.969 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.669e-05/0.5917, allocations: 19.94 kB / 1.5 GB, free: 1.949 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.5929, allocations: 139.2 kB / 1.5 GB, free: 1.812 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.5931, allocations: 51.98 kB / 1.5 GB, free: 1.762 MB / 1.186 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.0008428/0.5939, allocations: 441.9 kB / 1.5 GB, free: 1.32 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003672/0.5943, allocations: 174.9 kB / 1.501 GB, free: 1.148 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.5961, allocations: 0.8641 MB / 1.501 GB, free: 284 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.5961, allocations: 4 kB / 1.501 GB, free: 280 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5961, allocations: 3.984 kB / 1.501 GB, free: 276 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001425/0.5976, allocations: 0.8018 MB / 1.502 GB, free: 15.42 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004242/0.6018, allocations: 2.08 MB / 1.504 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.6018, allocations: 0 / 1.504 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007894/0.6026, allocations: 184 kB / 1.504 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.6026, allocations: 4 kB / 1.504 GB, free: 13.1 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/0.6027, allocations: 23.92 kB / 1.504 GB, free: 13.08 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.6027, allocations: 4 kB / 1.504 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6027, allocations: 3.938 kB / 1.504 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.6053, allocations: 1.333 MB / 1.506 GB, free: 11.7 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007238/0.6061, allocations: 258.7 kB / 1.506 GB, free: 11.44 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/0.6062, allocations: 19.94 kB / 1.506 GB, free: 11.42 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008533/0.6071, allocations: 55.94 kB / 1.506 GB, free: 11.37 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.6072, allocations: 56.34 kB / 1.506 GB, free: 11.31 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-05/0.6073, allocations: 39.97 kB / 1.506 GB, free: 11.27 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001501/0.6088, allocations: 1.021 MB / 1.507 GB, free: 10.26 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6088, allocations: 0 / 1.507 GB, free: 10.26 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001904/0.6107, allocations: 0.6935 MB / 1.508 GB, free: 9.566 MB / 1.201 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.00108/0.6118, allocations: 0.5872 MB / 1.508 GB, free: 8.973 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.6136, allocations: 0.7806 MB / 1.509 GB, free: 8.191 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.6136, allocations: 4 kB / 1.509 GB, free: 8.188 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007278/0.6143, allocations: 336.1 kB / 1.509 GB, free: 7.863 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003971/0.6183, allocations: 0.9199 MB / 1.51 GB, free: 6.969 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/0.6234, allocations: 3.11 MB / 1.513 GB, free: 3.789 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008806/0.6243, allocations: 0.8137 MB / 1.514 GB, free: 2.941 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.6247, allocations: 155.3 kB / 1.514 GB, free: 2.789 MB / 1.201 GB Notification: Performance of SimCode: time 8.21e-07/0.6247, allocations: 0 / 1.514 GB, free: 2.789 MB / 1.201 GB Notification: Performance of Templates: time 0.05112/0.6759, allocations: 32.57 MB / 1.546 GB, free: 2.457 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.120536793023348]