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.001628/0.001628, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001702/0.001702, allocations: 216.9 kB / 23.04 MB, free: 4.867 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.165/3.165, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002068/0.002068, allocations: 67.52 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3691, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07944/0.4485, allocations: 71.13 MB / 1.397 GB, free: 9.578 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02844/0.477, allocations: 17.59 MB / 1.414 GB, free: 7.953 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003894/0.4809, allocations: 150.7 kB / 1.414 GB, free: 7.805 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004101/0.485, allocations: 1.242 MB / 1.415 GB, free: 6.555 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.4962, allocations: 3.877 MB / 1.419 GB, free: 2.66 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006207/0.5025, allocations: 2.145 MB / 1.421 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.009968/0.5124, allocations: 6.801 MB / 1.428 GB, free: 9.715 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003083/0.5155, allocations: 1.572 MB / 1.429 GB, free: 8.094 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006698/0.5222, allocations: 2.756 MB / 1.432 GB, free: 5.34 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003474/0.5257, allocations: 1.754 MB / 1.434 GB, free: 3.578 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005513/0.5262, allocations: 204 kB / 1.434 GB, free: 3.379 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004075/0.5303, allocations: 1.333 MB / 1.435 GB, free: 2.043 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007327/0.531, allocations: 0.5641 MB / 1.436 GB, free: 1.477 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001857/0.5329, allocations: 1.015 MB / 1.437 GB, free: 468 kB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006973/0.5399, allocations: 3.792 MB / 1.44 GB, free: 12.65 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.5399, allocations: 3.984 kB / 1.44 GB, free: 12.65 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5399, allocations: 0 / 1.44 GB, free: 12.65 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.607e-05/0.54, allocations: 3.938 kB / 1.44 GB, free: 12.64 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.005408/0.5454, allocations: 2.715 MB / 1.443 GB, free: 9.879 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5454, allocations: 12.03 kB / 1.443 GB, free: 9.867 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008898/0.5463, allocations: 279.3 kB / 1.443 GB, free: 9.594 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004192/0.5505, allocations: 1.976 MB / 1.445 GB, free: 7.574 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-05/0.5506, allocations: 106.6 kB / 1.445 GB, free: 7.469 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.5508, allocations: 148 kB / 1.445 GB, free: 7.324 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003113/0.5539, allocations: 1.819 MB / 1.447 GB, free: 5.355 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.162e-05/0.554, allocations: 11.94 kB / 1.447 GB, free: 5.344 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.5541, allocations: 60 kB / 1.447 GB, free: 5.285 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.5542, allocations: 39.98 kB / 1.447 GB, free: 5.246 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.5565, allocations: 1.122 MB / 1.448 GB, free: 4.117 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.007893/0.5644, allocations: 5.1 MB / 1.453 GB, free: 14.87 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/0.5654, allocations: 444.9 kB / 1.454 GB, free: 14.43 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006723/0.566, allocations: 306.2 kB / 1.454 GB, free: 14.13 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003863/0.5664, allocations: 112.4 kB / 1.454 GB, free: 14.02 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.5665, allocations: 43.06 kB / 1.454 GB, free: 13.97 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 2.365e-06/0.5665, allocations: 0 / 1.454 GB, free: 13.97 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.002429/0.5689, allocations: 0.9489 MB / 1.455 GB, free: 13.01 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.5689, allocations: 55.91 kB / 1.455 GB, free: 12.95 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.5712, allocations: 1.543 MB / 1.457 GB, free: 11.4 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.5713, allocations: 41.7 kB / 1.457 GB, free: 11.36 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008485/0.5721, allocations: 0.9747 MB / 1.458 GB, free: 10.37 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.5724, allocations: 226.1 kB / 1.458 GB, free: 10.15 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/0.5727, allocations: 226.8 kB / 1.458 GB, free: 9.922 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5729, allocations: 345.9 kB / 1.459 GB, free: 9.578 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007362/0.5736, allocations: 330.4 kB / 1.459 GB, free: 9.254 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.5748, allocations: 0.9738 MB / 1.46 GB, free: 8.059 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.5766, allocations: 1.009 MB / 1.461 GB, free: 6.914 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.5766, allocations: 4 kB / 1.461 GB, free: 6.91 MB / 1.154 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002553/0.5791, allocations: 1.2 MB / 1.462 GB, free: 5.703 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.5792, allocations: 12 kB / 1.462 GB, free: 5.691 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.5792, allocations: 12.09 kB / 1.462 GB, free: 5.68 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/0.5792, allocations: 16 kB / 1.462 GB, free: 5.664 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.5803, allocations: 291.5 kB / 1.462 GB, free: 5.379 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/0.5803, allocations: 19.94 kB / 1.462 GB, free: 5.359 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.5816, allocations: 147.1 kB / 1.462 GB, free: 5.215 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.765e-05/0.5817, allocations: 51.98 kB / 1.462 GB, free: 5.164 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.0007762/0.5824, allocations: 443.1 kB / 1.463 GB, free: 4.723 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003957/0.5828, allocations: 178.9 kB / 1.463 GB, free: 4.547 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.5847, allocations: 0.8569 MB / 1.464 GB, free: 3.684 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.5847, allocations: 12 kB / 1.464 GB, free: 3.672 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.5847, allocations: 0 / 1.464 GB, free: 3.672 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/0.5861, allocations: 0.8057 MB / 1.465 GB, free: 2.816 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/0.5903, allocations: 2.072 MB / 1.467 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.5903, allocations: 0 / 1.467 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008282/0.5911, allocations: 192 kB / 1.467 GB, free: 0.4961 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.5911, allocations: 4 kB / 1.467 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/0.5912, allocations: 23.92 kB / 1.467 GB, free: 480 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.5912, allocations: 4 kB / 1.467 GB, free: 476 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.5912, allocations: 7.938 kB / 1.467 GB, free: 468 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.594, allocations: 1.317 MB / 1.468 GB, free: 15.1 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007817/0.5948, allocations: 262.7 kB / 1.468 GB, free: 14.84 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.595, allocations: 27.88 kB / 1.469 GB, free: 14.82 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000871/0.5959, allocations: 59.92 kB / 1.469 GB, free: 14.76 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.596, allocations: 44.42 kB / 1.469 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.238e-05/0.5961, allocations: 35.97 kB / 1.469 GB, free: 14.68 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001505/0.5976, allocations: 1.025 MB / 1.47 GB, free: 13.66 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5976, allocations: 0 / 1.47 GB, free: 13.66 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001945/0.5995, allocations: 0.6896 MB / 1.47 GB, free: 12.97 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.001057/0.6006, allocations: 0.5999 MB / 1.471 GB, free: 12.36 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001826/0.6024, allocations: 0.7815 MB / 1.472 GB, free: 11.59 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6024, allocations: 0 / 1.472 GB, free: 11.59 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007363/0.6031, allocations: 339.2 kB / 1.472 GB, free: 11.25 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00421/0.6073, allocations: 0.9129 MB / 1.473 GB, free: 10.36 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005276/0.6126, allocations: 3.106 MB / 1.476 GB, free: 7.184 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009236/0.6135, allocations: 0.8176 MB / 1.477 GB, free: 6.332 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005084/0.6141, allocations: 143.3 kB / 1.477 GB, free: 6.191 MB / 1.17 GB Notification: Performance of SimCode: time 1.422e-06/0.6141, allocations: 4 kB / 1.477 GB, free: 6.188 MB / 1.17 GB Notification: Performance of Templates: time 0.05513/0.6692, allocations: 32.57 MB / 1.509 GB, free: 5.863 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: 17.14067717315629]