Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001736/0.001736, 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.002356/0.002356, allocations: 210.8 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.172/3.172, 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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [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.002244/0.002244, allocations: 80.97 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3729, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04696/0.4199, allocations: 38.48 MB / 1.365 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01681/0.4367, allocations: 9.674 MB / 1.374 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.4392, allocations: 79.31 kB / 1.374 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.4412, allocations: 0.6367 MB / 1.375 GB, free: 15.94 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006094/0.4473, allocations: 2.014 MB / 1.377 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003223/0.4505, allocations: 1.22 MB / 1.378 GB, free: 12.71 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005334/0.4559, allocations: 3.488 MB / 1.381 GB, free: 9.215 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.4574, allocations: 0.8147 MB / 1.382 GB, free: 8.379 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/0.4612, allocations: 1.467 MB / 1.384 GB, free: 6.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.4628, allocations: 0.9256 MB / 1.385 GB, free: 5.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.463, allocations: 100 kB / 1.385 GB, free: 5.883 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.4649, allocations: 0.7174 MB / 1.385 GB, free: 5.164 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003357/0.4653, allocations: 298.7 kB / 1.386 GB, free: 4.871 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006692/0.4659, allocations: 0.5016 MB / 1.386 GB, free: 4.367 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002951/0.4689, allocations: 1.958 MB / 1.388 GB, free: 2.402 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4689, allocations: 4 kB / 1.388 GB, free: 2.398 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4689, allocations: 0 / 1.388 GB, free: 2.398 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.4689, allocations: 0 / 1.388 GB, free: 2.398 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002724/0.4716, allocations: 1.477 MB / 1.389 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4717, allocations: 8.031 kB / 1.389 GB, free: 0.875 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000404/0.4721, allocations: 148.1 kB / 1.39 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.4741, allocations: 1.06 MB / 1.391 GB, free: 15.64 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/0.4742, allocations: 58 kB / 1.391 GB, free: 15.58 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.4743, allocations: 76 kB / 1.391 GB, free: 15.5 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.4759, allocations: 0.9449 MB / 1.392 GB, free: 14.49 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.4759, allocations: 0 / 1.392 GB, free: 14.49 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.347e-05/0.476, allocations: 32 kB / 1.392 GB, free: 14.46 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.379e-05/0.476, allocations: 20 kB / 1.392 GB, free: 14.44 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.4772, allocations: 0.5711 MB / 1.392 GB, free: 13.86 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.004038/0.4812, allocations: 2.605 MB / 1.395 GB, free: 11.18 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.4818, allocations: 244.3 kB / 1.395 GB, free: 10.94 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.4822, allocations: 170.5 kB / 1.395 GB, free: 10.77 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/0.4824, allocations: 67.95 kB / 1.395 GB, free: 10.7 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.4825, allocations: 38.56 kB / 1.395 GB, free: 10.66 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/0.4825, allocations: 0 / 1.395 GB, free: 10.66 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001246/0.4837, allocations: 0.5013 MB / 1.396 GB, free: 10.15 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.4838, allocations: 59.41 kB / 1.396 GB, free: 10.08 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.4848, allocations: 0.8139 MB / 1.397 GB, free: 9.25 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.4849, allocations: 33.7 kB / 1.397 GB, free: 9.211 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/0.4853, allocations: 0.5117 MB / 1.397 GB, free: 8.695 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.4854, allocations: 115 kB / 1.397 GB, free: 8.582 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.4856, allocations: 118.2 kB / 1.397 GB, free: 8.457 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4858, allocations: 329.9 kB / 1.398 GB, free: 8.129 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.4861, allocations: 169.2 kB / 1.398 GB, free: 7.965 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/0.4868, allocations: 0.4942 MB / 1.398 GB, free: 7.355 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009126/0.4877, allocations: 0.5154 MB / 1.399 GB, free: 6.77 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4877, allocations: 0 / 1.399 GB, free: 6.77 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001179/0.4889, allocations: 0.6136 MB / 1.399 GB, free: 6.148 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4889, allocations: 8 kB / 1.399 GB, free: 6.141 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.4889, allocations: 4 kB / 1.399 GB, free: 6.137 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.4889, allocations: 8.594 kB / 1.399 GB, free: 6.129 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/0.4894, allocations: 131.8 kB / 1.4 GB, free: 6 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.4894, allocations: 15.92 kB / 1.4 GB, free: 5.984 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.4899, allocations: 71.53 kB / 1.4 GB, free: 5.914 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.49, allocations: 24 kB / 1.4 GB, free: 5.891 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0004012/0.4904, allocations: 273.6 kB / 1.4 GB, free: 5.613 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.4905, allocations: 91.42 kB / 1.4 GB, free: 5.523 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.4916, allocations: 479 kB / 1.401 GB, free: 5.043 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.4916, allocations: 4 kB / 1.401 GB, free: 5.039 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4916, allocations: 0 / 1.401 GB, free: 5.039 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007725/0.4924, allocations: 457.4 kB / 1.401 GB, free: 4.562 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.4944, allocations: 1.159 MB / 1.402 GB, free: 3.352 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.4944, allocations: 4 kB / 1.402 GB, free: 3.348 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.4948, allocations: 75.89 kB / 1.402 GB, free: 3.273 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4948, allocations: 3.938 kB / 1.402 GB, free: 3.27 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.4948, allocations: 20.14 kB / 1.402 GB, free: 3.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.4948, allocations: 11.94 kB / 1.402 GB, free: 3.238 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4949, allocations: 4 kB / 1.402 GB, free: 3.234 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.4962, allocations: 0.7625 MB / 1.403 GB, free: 2.441 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.4966, allocations: 139.3 kB / 1.403 GB, free: 2.305 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.933e-05/0.4967, allocations: 16 kB / 1.403 GB, free: 2.289 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/0.4971, allocations: 27.97 kB / 1.403 GB, free: 2.262 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.4972, allocations: 23.95 kB / 1.403 GB, free: 2.238 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.4972, allocations: 19.98 kB / 1.403 GB, free: 2.219 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007625/0.498, allocations: 0.5498 MB / 1.404 GB, free: 1.676 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.498, allocations: 0 / 1.404 GB, free: 1.676 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00105/0.499, allocations: 367 kB / 1.404 GB, free: 1.316 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007885/0.4998, allocations: 370.3 kB / 1.404 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009493/0.5008, allocations: 407.5 kB / 1.405 GB, free: 0.5508 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5008, allocations: 0 / 1.405 GB, free: 0.5508 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.5011, allocations: 173.2 kB / 1.405 GB, free: 392 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.5032, allocations: 480.7 kB / 1.405 GB, free: 15.92 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.5064, allocations: 1.6 MB / 1.407 GB, free: 14.27 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.5069, allocations: 448.6 kB / 1.407 GB, free: 13.8 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000731/0.5076, allocations: 177.5 kB / 1.408 GB, free: 13.62 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.5078, allocations: 71.42 kB / 1.408 GB, free: 13.55 MB / 1.107 GB Notification: Performance of SimCode: time 1.203e-06/0.5078, allocations: 0 / 1.408 GB, free: 13.55 MB / 1.107 GB Notification: Performance of Templates: time 0.03722/0.545, allocations: 20.48 MB / 1.428 GB, free: 9.488 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.749406545000966]