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.001629/0.001629, 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.002106/0.002106, allocations: 211.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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.119/3.119, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] 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.002024/0.002024, allocations: 68.75 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04444/0.3571, allocations: 38.48 MB / 1.365 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01535/0.3724, allocations: 9.663 MB / 1.374 GB, free: 0.6289 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.3741, allocations: 79.31 kB / 1.374 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.3758, allocations: 0.6404 MB / 1.375 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005253/0.381, allocations: 2.014 MB / 1.377 GB, free: 13.88 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.3841, allocations: 1.22 MB / 1.378 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004754/0.3889, allocations: 3.487 MB / 1.381 GB, free: 9.18 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.3902, allocations: 0.8147 MB / 1.382 GB, free: 8.344 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003623/0.3938, allocations: 1.477 MB / 1.384 GB, free: 6.867 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.3953, allocations: 0.9179 MB / 1.385 GB, free: 5.945 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.3955, allocations: 103.9 kB / 1.385 GB, free: 5.844 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.3972, allocations: 0.7213 MB / 1.385 GB, free: 5.121 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.3975, allocations: 294.7 kB / 1.386 GB, free: 4.832 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005948/0.3981, allocations: 0.5055 MB / 1.386 GB, free: 4.324 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.4008, allocations: 1.958 MB / 1.388 GB, free: 2.359 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4008, allocations: 0 / 1.388 GB, free: 2.359 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4008, allocations: 0 / 1.388 GB, free: 2.359 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.4008, allocations: 0 / 1.388 GB, free: 2.359 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.002586/0.4034, allocations: 1.481 MB / 1.389 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4035, allocations: 8.031 kB / 1.389 GB, free: 0.832 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000381/0.4039, allocations: 144.1 kB / 1.39 GB, free: 0.6914 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.4059, allocations: 1.06 MB / 1.391 GB, free: 15.59 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.4059, allocations: 58 kB / 1.391 GB, free: 15.54 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.406, allocations: 72 kB / 1.391 GB, free: 15.46 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.4076, allocations: 0.9449 MB / 1.392 GB, free: 14.45 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.4076, allocations: 7.891 kB / 1.392 GB, free: 14.45 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-05/0.4077, allocations: 35.94 kB / 1.392 GB, free: 14.41 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.4077, allocations: 20 kB / 1.392 GB, free: 14.39 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.4089, allocations: 0.5711 MB / 1.392 GB, free: 13.82 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.003842/0.4128, allocations: 2.597 MB / 1.395 GB, free: 11.14 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.4134, allocations: 246.4 kB / 1.395 GB, free: 10.89 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.4137, allocations: 160.8 kB / 1.395 GB, free: 10.73 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002488/0.414, allocations: 63.89 kB / 1.395 GB, free: 10.67 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.414, allocations: 38.56 kB / 1.395 GB, free: 10.62 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/0.414, allocations: 0 / 1.395 GB, free: 10.62 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001265/0.4153, allocations: 0.5091 MB / 1.396 GB, free: 10.11 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.4153, allocations: 55.41 kB / 1.396 GB, free: 10.04 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.4164, allocations: 0.81 MB / 1.397 GB, free: 9.219 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.4164, allocations: 37.7 kB / 1.397 GB, free: 9.176 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.4168, allocations: 0.5116 MB / 1.397 GB, free: 8.66 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.417, allocations: 115.1 kB / 1.397 GB, free: 8.547 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.4171, allocations: 118.2 kB / 1.397 GB, free: 8.422 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4173, allocations: 333.9 kB / 1.398 GB, free: 8.09 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.4177, allocations: 165.2 kB / 1.398 GB, free: 7.93 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.4183, allocations: 0.498 MB / 1.398 GB, free: 7.316 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009164/0.4192, allocations: 0.5193 MB / 1.399 GB, free: 6.727 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4192, allocations: 0 / 1.399 GB, free: 6.727 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001205/0.4204, allocations: 0.6102 MB / 1.399 GB, free: 6.109 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.4204, allocations: 12.12 kB / 1.399 GB, free: 6.098 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.4204, allocations: 4 kB / 1.399 GB, free: 6.094 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.4205, allocations: 8 kB / 1.4 GB, free: 6.086 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.4209, allocations: 123.8 kB / 1.4 GB, free: 5.965 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.421, allocations: 15.92 kB / 1.4 GB, free: 5.949 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/0.4215, allocations: 67.55 kB / 1.4 GB, free: 5.883 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/0.4215, allocations: 27.98 kB / 1.4 GB, free: 5.855 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.0003878/0.4219, allocations: 277.6 kB / 1.4 GB, free: 5.574 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.4221, allocations: 87.44 kB / 1.4 GB, free: 5.488 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.4231, allocations: 483 kB / 1.401 GB, free: 5.004 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008007/0.4239, allocations: 457.4 kB / 1.401 GB, free: 4.527 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4239, allocations: 0 / 1.401 GB, free: 4.527 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.4243, allocations: 135.3 kB / 1.401 GB, free: 4.395 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.946e-05/0.4244, allocations: 4 kB / 1.401 GB, free: 4.391 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/0.4249, allocations: 31.84 kB / 1.401 GB, free: 4.359 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.4249, allocations: 28.23 kB / 1.401 GB, free: 4.332 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00112/0.4261, allocations: 0.5085 MB / 1.402 GB, free: 3.816 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001395/0.4274, allocations: 0.8147 MB / 1.402 GB, free: 2.984 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003625/0.4278, allocations: 173.1 kB / 1.403 GB, free: 2.816 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007276/0.4285, allocations: 0.5498 MB / 1.403 GB, free: 2.273 MB / 1.092 GB Notification: Performance of Backend: time 6.61e-07/0.4285, allocations: 0 / 1.403 GB, free: 2.273 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.4303, allocations: 0.6512 MB / 1.404 GB, free: 1.617 MB / 1.092 GB Notification: Performance of SimCode: time 0.003989/0.4343, allocations: 2.335 MB / 1.406 GB, free: 15.24 MB / 1.107 GB Notification: Performance of Templates: time 0.03577/0.47, allocations: 21.04 MB / 1.427 GB, free: 10.58 MB / 1.123 GB " [Timeout remaining time 300] 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 -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.193133527995087]