Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00134/0.00134, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.0015/0.0015, allocations: 159.4 kB / 23.01 MB, free: 4.598 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.454/1.454, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.677/2.677, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002077/0.002077, allocations: 63.91 kB / 0.9515 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.33, allocations: 169.9 MB / 1.117 GB, free: 2.582 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.6589/0.9888, allocations: 70.99 MB / 1.187 GB, free: 16.48 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02316/1.012, allocations: 17.56 MB / 1.204 GB, free: 4.391 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003845/1.016, allocations: 151.7 kB / 1.204 GB, free: 4.309 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003225/1.019, allocations: 1.232 MB / 1.205 GB, free: 3.602 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01271/1.032, allocations: 3.879 MB / 1.209 GB, free: 1.344 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007381/1.039, allocations: 2.138 MB / 1.211 GB, free: 156 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01167/1.051, allocations: 6.791 MB / 1.218 GB, free: 12.86 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003212/1.054, allocations: 1.573 MB / 1.219 GB, free: 12.04 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007348/1.061, allocations: 2.435 MB / 1.222 GB, free: 10.92 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005263/1.067, allocations: 1.778 MB / 1.223 GB, free: 10.18 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0007775/1.067, allocations: 199.1 kB / 1.224 GB, free: 10.18 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006039/1.073, allocations: 1.347 MB / 1.225 GB, free: 9.699 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001255/1.075, allocations: 0.5579 MB / 1.225 GB, free: 9.348 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00332/1.078, allocations: 1.007 MB / 1.226 GB, free: 8.828 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01054/1.089, allocations: 3.786 MB / 1.23 GB, free: 7.41 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.089, allocations: 0 / 1.23 GB, free: 7.41 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.864e-06/1.089, allocations: 0 / 1.23 GB, free: 7.41 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001113/1.089, allocations: 4 kB / 1.23 GB, free: 7.406 MB / 1.092 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.008518/1.097, allocations: 2.706 MB / 1.233 GB, free: 5.707 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/1.097, allocations: 14.58 kB / 1.233 GB, free: 5.703 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/1.098, allocations: 276.4 kB / 1.233 GB, free: 5.57 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004917/1.103, allocations: 1.962 MB / 1.235 GB, free: 4.48 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.821e-05/1.103, allocations: 105 kB / 1.235 GB, free: 4.434 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/1.104, allocations: 144.2 kB / 1.235 GB, free: 4.387 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/1.107, allocations: 1.828 MB / 1.237 GB, free: 3.297 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.38e-05/1.107, allocations: 2.125 kB / 1.237 GB, free: 3.297 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/1.108, allocations: 62.45 kB / 1.237 GB, free: 3.25 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.529e-05/1.108, allocations: 42.75 kB / 1.237 GB, free: 3.246 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002685/1.11, allocations: 1.123 MB / 1.238 GB, free: 2.852 MB / 1.092 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.01075/1.121, allocations: 5.085 MB / 1.243 GB, free: 15.54 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/1.122, allocations: 442.9 kB / 1.244 GB, free: 15.38 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/1.123, allocations: 313.5 kB / 1.244 GB, free: 15.28 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004754/1.123, allocations: 108.2 kB / 1.244 GB, free: 15.26 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/1.123, allocations: 45.02 kB / 1.244 GB, free: 15.21 MB / 1.107 GB Notification: Performance of pre-optimization done (n=59): time 2.695e-06/1.123, allocations: 0 / 1.244 GB, free: 15.21 MB / 1.107 GB Notification: Performance of matching and sorting (n=59): time 0.002923/1.126, allocations: 0.9458 MB / 1.245 GB, free: 14.86 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/1.126, allocations: 58.16 kB / 1.245 GB, free: 14.8 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003541/1.13, allocations: 1.538 MB / 1.247 GB, free: 14.2 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/1.13, allocations: 43.72 kB / 1.247 GB, free: 14.16 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001145/1.131, allocations: 0.9663 MB / 1.248 GB, free: 13.39 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000357/1.132, allocations: 224 kB / 1.248 GB, free: 13.22 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004591/1.132, allocations: 230.5 kB / 1.248 GB, free: 13.1 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001961/1.132, allocations: 349 kB / 1.248 GB, free: 12.78 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008815/1.133, allocations: 329.5 kB / 1.249 GB, free: 12.68 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/1.135, allocations: 0.9695 MB / 1.25 GB, free: 11.79 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/1.137, allocations: 1.013 MB / 1.251 GB, free: 11.1 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.975e-05/1.137, allocations: 6.156 kB / 1.251 GB, free: 11.1 MB / 1.107 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00325/1.14, allocations: 1.201 MB / 1.252 GB, free: 10.61 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/1.14, allocations: 12.8 kB / 1.252 GB, free: 10.61 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/1.14, allocations: 13.97 kB / 1.252 GB, free: 10.61 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.005e-05/1.14, allocations: 15.97 kB / 1.252 GB, free: 10.61 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.141, allocations: 288.7 kB / 1.252 GB, free: 10.58 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.494e-05/1.141, allocations: 25.73 kB / 1.252 GB, free: 10.58 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/1.143, allocations: 137.1 kB / 1.252 GB, free: 10.5 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/1.143, allocations: 51.41 kB / 1.252 GB, free: 10.5 MB / 1.107 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.001167/1.144, allocations: 443.4 kB / 1.253 GB, free: 10.2 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007096/1.145, allocations: 176.2 kB / 1.253 GB, free: 10.1 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/1.147, allocations: 0.8529 MB / 1.254 GB, free: 9.777 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/1.147, allocations: 8.25 kB / 1.254 GB, free: 9.777 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/1.148, allocations: 0 / 1.254 GB, free: 9.777 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001577/1.149, allocations: 0.8028 MB / 1.254 GB, free: 9.34 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005243/1.154, allocations: 2.074 MB / 1.256 GB, free: 8.363 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/1.154, allocations: 5.75 kB / 1.256 GB, free: 8.359 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008588/1.155, allocations: 183.4 kB / 1.257 GB, free: 8.344 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/1.155, allocations: 4.828 kB / 1.257 GB, free: 8.344 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/1.155, allocations: 20.67 kB / 1.257 GB, free: 8.332 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/1.155, allocations: 9.812 kB / 1.257 GB, free: 8.328 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/1.155, allocations: 3.344 kB / 1.257 GB, free: 8.328 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/1.158, allocations: 1.329 MB / 1.258 GB, free: 7.691 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009856/1.159, allocations: 265.2 kB / 1.258 GB, free: 7.531 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/1.16, allocations: 19.97 kB / 1.258 GB, free: 7.52 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009205/1.16, allocations: 57.83 kB / 1.258 GB, free: 7.508 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.161, allocations: 51.06 kB / 1.258 GB, free: 7.5 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.407e-05/1.161, allocations: 38.28 kB / 1.258 GB, free: 7.492 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001743/1.162, allocations: 1.017 MB / 1.259 GB, free: 7.098 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/1.162, allocations: 0 / 1.259 GB, free: 7.098 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002574/1.165, allocations: 0.6927 MB / 1.26 GB, free: 6.918 MB / 1.107 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.001311/1.166, allocations: 0.5804 MB / 1.261 GB, free: 6.648 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002251/1.169, allocations: 0.7833 MB / 1.261 GB, free: 6.414 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.169, allocations: 1.312 kB / 1.261 GB, free: 6.414 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008552/1.169, allocations: 340.9 kB / 1.262 GB, free: 6.312 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004945/1.174, allocations: 0.9167 MB / 1.263 GB, free: 6.027 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006022/1.18, allocations: 3.065 MB / 1.266 GB, free: 4.301 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/1.182, allocations: 0.8282 MB / 1.266 GB, free: 4.09 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001879/1.183, allocations: 328.5 kB / 1.267 GB, free: 4.008 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004752/1.184, allocations: 130.4 kB / 1.267 GB, free: 3.996 MB / 1.107 GB Notification: Performance of SimCode: time 1.392e-06/1.184, allocations: 0 / 1.267 GB, free: 3.996 MB / 1.107 GB Notification: Performance of Templates: time 0.06784/1.252, allocations: 36.43 MB / 1.302 GB, free: 11.18 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.97554365801625]