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.001866/0.001866, allocations: 111 kB / 16.46 MB, free: 6.453 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.002213/0.002213, allocations: 213.7 kB / 19.43 MB, free: 3.625 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: 230.6 MB / 252.8 MB, free: 8.969 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.205/3.205, allocations: 0.4899 GB / 0.7916 GB, free: 33.42 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.002014/0.002014, allocations: 74.8 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4068, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0528/0.4596, allocations: 42.16 MB / 1.362 GB, free: 8.539 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02016/0.4797, allocations: 10.42 MB / 1.373 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003576/0.4833, allocations: 83.31 kB / 1.373 GB, free: 14.01 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003122/0.4864, allocations: 0.6754 MB / 1.373 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008175/0.4946, allocations: 1.981 MB / 1.375 GB, free: 11.34 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004491/0.4991, allocations: 1.185 MB / 1.376 GB, free: 10.17 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006578/0.5057, allocations: 3.4 MB / 1.38 GB, free: 6.762 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.5076, allocations: 0.8724 MB / 1.381 GB, free: 5.867 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004534/0.5122, allocations: 1.442 MB / 1.382 GB, free: 4.426 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.5142, allocations: 0.9256 MB / 1.383 GB, free: 3.496 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002304/0.5144, allocations: 100 kB / 1.383 GB, free: 3.398 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.5169, allocations: 0.9163 MB / 1.384 GB, free: 2.48 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.5173, allocations: 294.8 kB / 1.384 GB, free: 2.191 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009289/0.5182, allocations: 0.6298 MB / 1.385 GB, free: 1.559 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003764/0.522, allocations: 1.986 MB / 1.387 GB, free: 15.56 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.522, allocations: 0 / 1.387 GB, free: 15.56 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.905e-06/0.522, allocations: 0 / 1.387 GB, free: 15.56 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.277e-05/0.522, allocations: 3.938 kB / 1.387 GB, free: 15.56 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003394/0.5254, allocations: 1.548 MB / 1.388 GB, free: 13.95 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.5255, allocations: 15.98 kB / 1.388 GB, free: 13.94 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004162/0.5259, allocations: 152 kB / 1.388 GB, free: 13.79 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.5278, allocations: 1.116 MB / 1.39 GB, free: 12.63 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/0.5279, allocations: 54 kB / 1.39 GB, free: 12.58 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.528, allocations: 75.95 kB / 1.39 GB, free: 12.5 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.5296, allocations: 0.7944 MB / 1.39 GB, free: 11.68 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.5296, allocations: 0 / 1.39 GB, free: 11.68 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/0.5297, allocations: 32 kB / 1.39 GB, free: 11.65 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.5297, allocations: 16 kB / 1.39 GB, free: 11.63 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.5309, allocations: 0.575 MB / 1.391 GB, free: 11.06 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.005038/0.536, allocations: 3.711 MB / 1.395 GB, free: 7.086 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/0.5367, allocations: 242.4 kB / 1.395 GB, free: 6.84 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.5371, allocations: 164.8 kB / 1.395 GB, free: 6.676 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007407/0.5378, allocations: 0.657 MB / 1.396 GB, free: 5.871 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.5378, allocations: 38.56 kB / 1.396 GB, free: 5.824 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.945e-06/0.5378, allocations: 4 kB / 1.396 GB, free: 5.82 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.00142/0.5393, allocations: 0.5298 MB / 1.396 GB, free: 5.285 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.5393, allocations: 55.41 kB / 1.396 GB, free: 5.219 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.5407, allocations: 0.9536 MB / 1.397 GB, free: 4.246 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.748e-05/0.5408, allocations: 41.64 kB / 1.397 GB, free: 4.199 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006323/0.5414, allocations: 0.4966 MB / 1.398 GB, free: 3.695 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.5416, allocations: 119 kB / 1.398 GB, free: 3.578 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.5419, allocations: 114.1 kB / 1.398 GB, free: 3.461 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002448/0.5421, allocations: 333.9 kB / 1.398 GB, free: 3.129 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/0.5425, allocations: 165 kB / 1.398 GB, free: 2.965 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006898/0.5432, allocations: 356.6 kB / 1.399 GB, free: 2.543 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.5443, allocations: 0.5031 MB / 1.399 GB, free: 1.969 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.5443, allocations: 4 kB / 1.399 GB, free: 1.965 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001672/0.5459, allocations: 0.6252 MB / 1.4 GB, free: 1.332 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.546, allocations: 8.688 kB / 1.4 GB, free: 1.324 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.546, allocations: 4 kB / 1.4 GB, free: 1.32 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.107e-05/0.5461, allocations: 15.94 kB / 1.4 GB, free: 1.305 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/0.5466, allocations: 123.8 kB / 1.4 GB, free: 1.184 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-05/0.5466, allocations: 11.98 kB / 1.4 GB, free: 1.172 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009302/0.5476, allocations: 83.42 kB / 1.4 GB, free: 1.09 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.1e-05/0.5476, allocations: 24 kB / 1.4 GB, free: 1.066 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.000776/0.5484, allocations: 285.5 kB / 1.4 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/0.5487, allocations: 107.3 kB / 1.401 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.55, allocations: 485.9 kB / 1.401 GB, free: 196 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.55, allocations: 4 kB / 1.401 GB, free: 192 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.55, allocations: 64 / 1.401 GB, free: 192 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009015/0.5509, allocations: 457.2 kB / 1.401 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.5534, allocations: 1.367 MB / 1.403 GB, free: 14.27 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.5535, allocations: 0 / 1.403 GB, free: 14.27 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.5538, allocations: 79.88 kB / 1.403 GB, free: 14.2 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.5538, allocations: 7.938 kB / 1.403 GB, free: 14.19 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.5539, allocations: 8 kB / 1.403 GB, free: 14.18 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.5539, allocations: 4 kB / 1.403 GB, free: 14.18 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5539, allocations: 0 / 1.403 GB, free: 14.18 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.5553, allocations: 0.7725 MB / 1.404 GB, free: 13.37 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004105/0.5557, allocations: 236.3 kB / 1.404 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.5559, allocations: 8 kB / 1.404 GB, free: 13.11 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005325/0.5564, allocations: 31.89 kB / 1.404 GB, free: 13.08 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.5565, allocations: 23.97 kB / 1.404 GB, free: 13.06 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.5565, allocations: 24.05 kB / 1.404 GB, free: 13.04 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001053/0.5576, allocations: 0.6668 MB / 1.405 GB, free: 12.36 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.5576, allocations: 3.938 kB / 1.405 GB, free: 12.36 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001204/0.5588, allocations: 343.2 kB / 1.405 GB, free: 12.02 MB / 1.107 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.0007976/0.5596, allocations: 374.4 kB / 1.405 GB, free: 11.64 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.5606, allocations: 400.2 kB / 1.406 GB, free: 11.25 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5606, allocations: 0 / 1.406 GB, free: 11.25 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004393/0.5611, allocations: 175.7 kB / 1.406 GB, free: 11.08 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/0.5641, allocations: 0.611 MB / 1.406 GB, free: 10.48 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.5673, allocations: 1.631 MB / 1.408 GB, free: 8.805 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009161/0.5683, allocations: 1.036 MB / 1.409 GB, free: 7.738 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008345/0.5691, allocations: 200.3 kB / 1.409 GB, free: 7.543 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.5693, allocations: 83.36 kB / 1.409 GB, free: 7.461 MB / 1.107 GB Notification: Performance of SimCode: time 9.32e-07/0.5693, allocations: 0 / 1.409 GB, free: 7.461 MB / 1.107 GB Notification: Performance of Templates: time 0.04141/0.6107, allocations: 21.52 MB / 1.43 GB, free: 2.207 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 -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/jenkins/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.826889582909644]