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.001645/0.001645, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002033/0.002033, allocations: 207.5 kB / 23 MB, free: 4.934 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.233/3.233, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002049/0.002049, allocations: 64.88 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3077, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08591/0.3936, allocations: 71.14 MB / 1.397 GB, free: 9.574 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02804/0.4216, allocations: 17.57 MB / 1.414 GB, free: 7.961 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/0.4252, allocations: 150.7 kB / 1.414 GB, free: 7.812 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00388/0.429, allocations: 1.246 MB / 1.415 GB, free: 6.559 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01072/0.4398, allocations: 3.89 MB / 1.419 GB, free: 2.656 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006051/0.4458, allocations: 2.163 MB / 1.421 GB, free: 0.5078 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01052/0.4563, allocations: 6.866 MB / 1.428 GB, free: 9.625 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002839/0.4592, allocations: 1.595 MB / 1.429 GB, free: 7.98 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0064/0.4656, allocations: 2.751 MB / 1.432 GB, free: 5.23 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00321/0.4688, allocations: 1.84 MB / 1.434 GB, free: 3.383 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004201/0.4692, allocations: 200 kB / 1.434 GB, free: 3.188 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003411/0.4726, allocations: 1.345 MB / 1.435 GB, free: 1.84 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006235/0.4732, allocations: 0.568 MB / 1.436 GB, free: 1.27 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.4746, allocations: 1.011 MB / 1.437 GB, free: 260 kB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005672/0.4803, allocations: 3.799 MB / 1.44 GB, free: 12.44 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4803, allocations: 4 kB / 1.441 GB, free: 12.44 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4803, allocations: 0 / 1.441 GB, free: 12.44 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.806e-05/0.4803, allocations: 0 / 1.441 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.0048/0.4851, allocations: 2.72 MB / 1.443 GB, free: 9.668 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4852, allocations: 8.031 kB / 1.443 GB, free: 9.66 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008156/0.486, allocations: 283.3 kB / 1.443 GB, free: 9.383 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003789/0.4898, allocations: 1.976 MB / 1.445 GB, free: 7.363 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.594e-05/0.4899, allocations: 102.7 kB / 1.445 GB, free: 7.262 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.4901, allocations: 144 kB / 1.446 GB, free: 7.121 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/0.4932, allocations: 1.821 MB / 1.447 GB, free: 5.148 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/0.4932, allocations: 3.938 kB / 1.447 GB, free: 5.145 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.4933, allocations: 60 kB / 1.447 GB, free: 5.086 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-05/0.4934, allocations: 39.98 kB / 1.447 GB, free: 5.047 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/0.4957, allocations: 1.119 MB / 1.449 GB, free: 3.922 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.007877/0.5036, allocations: 5.097 MB / 1.454 GB, free: 14.68 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.5047, allocations: 453 kB / 1.454 GB, free: 14.23 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.5053, allocations: 306.2 kB / 1.454 GB, free: 13.93 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004007/0.5057, allocations: 120.4 kB / 1.454 GB, free: 13.81 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.5058, allocations: 43.06 kB / 1.454 GB, free: 13.76 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 2.625e-06/0.5058, allocations: 0 / 1.454 GB, free: 13.76 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.002345/0.5081, allocations: 0.9449 MB / 1.455 GB, free: 12.81 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.5082, allocations: 59.91 kB / 1.455 GB, free: 12.74 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.5103, allocations: 1.543 MB / 1.457 GB, free: 11.2 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.269e-05/0.5104, allocations: 41.7 kB / 1.457 GB, free: 11.15 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000892/0.5113, allocations: 0.9708 MB / 1.458 GB, free: 10.17 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.5115, allocations: 222.1 kB / 1.458 GB, free: 9.949 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003428/0.5119, allocations: 226.8 kB / 1.458 GB, free: 9.723 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.5121, allocations: 345.9 kB / 1.459 GB, free: 9.379 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007547/0.5129, allocations: 330.4 kB / 1.459 GB, free: 9.055 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.5142, allocations: 0.966 MB / 1.46 GB, free: 7.867 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.516, allocations: 1.017 MB / 1.461 GB, free: 6.715 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.516, allocations: 7.938 kB / 1.461 GB, free: 6.707 MB / 1.154 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002727/0.5188, allocations: 1.199 MB / 1.462 GB, free: 5.496 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.5188, allocations: 17.34 kB / 1.462 GB, free: 5.48 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.5188, allocations: 11.98 kB / 1.462 GB, free: 5.469 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.309e-05/0.5189, allocations: 16.78 kB / 1.462 GB, free: 5.453 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.52, allocations: 287.6 kB / 1.462 GB, free: 5.172 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-05/0.52, allocations: 19.94 kB / 1.462 GB, free: 5.152 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.5212, allocations: 143.1 kB / 1.463 GB, free: 5.012 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.335e-05/0.5213, allocations: 55.98 kB / 1.463 GB, free: 4.957 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.0008249/0.5222, allocations: 451 kB / 1.463 GB, free: 4.508 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/0.5225, allocations: 174.9 kB / 1.463 GB, free: 4.336 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.5244, allocations: 0.8569 MB / 1.464 GB, free: 3.473 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00148/0.5259, allocations: 0.8017 MB / 1.465 GB, free: 2.621 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.5259, allocations: 4 kB / 1.465 GB, free: 2.617 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007136/0.5266, allocations: 254.7 kB / 1.465 GB, free: 2.367 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.5268, allocations: 12 kB / 1.465 GB, free: 2.355 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008737/0.5277, allocations: 51.92 kB / 1.465 GB, free: 2.305 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.5278, allocations: 52.5 kB / 1.465 GB, free: 2.254 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00221/0.53, allocations: 0.8874 MB / 1.466 GB, free: 1.359 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002556/0.5326, allocations: 1.399 MB / 1.467 GB, free: 15.95 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006656/0.5332, allocations: 309.1 kB / 1.468 GB, free: 15.64 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001505/0.5347, allocations: 1.021 MB / 1.469 GB, free: 14.63 MB / 1.17 GB Notification: Performance of Backend: time 4.11e-07/0.5348, allocations: 0 / 1.469 GB, free: 14.63 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003055/0.5378, allocations: 1.188 MB / 1.47 GB, free: 13.44 MB / 1.17 GB Notification: Performance of SimCode: time 0.007462/0.5453, allocations: 4.081 MB / 1.474 GB, free: 9.324 MB / 1.17 GB Notification: Performance of Templates: time 0.06806/0.6133, allocations: 40.75 MB / 1.514 GB, free: 1.285 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: 9.904877217995818]