Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002111/0.002111, allocations: 113 kB / 18.94 MB, free: 2.934 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.002511/0.002511, allocations: 209.8 kB / 22.25 MB, free: 5.086 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.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.824/2.824, allocations: 476.7 MB / 0.7706 GB, free: 4.293 MB / 0.6231 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.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_11_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_11_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.002125/0.002125, allocations: 65.64 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3846, allocations: 170 MB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05263/0.4372, allocations: 42.49 MB / 1.325 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.4548, allocations: 10.45 MB / 1.336 GB, free: 6.078 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.4571, allocations: 79.31 kB / 1.336 GB, free: 6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.4593, allocations: 0.6716 MB / 1.336 GB, free: 5.324 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006184/0.4655, allocations: 2.024 MB / 1.338 GB, free: 3.293 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003675/0.4692, allocations: 1.229 MB / 1.339 GB, free: 2.074 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006206/0.4754, allocations: 3.494 MB / 1.343 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001793/0.4772, allocations: 0.8107 MB / 1.344 GB, free: 13.74 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003812/0.481, allocations: 1.293 MB / 1.345 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.483, allocations: 0.9334 MB / 1.346 GB, free: 11.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003535/0.4834, allocations: 100 kB / 1.346 GB, free: 11.42 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.4861, allocations: 0.9435 MB / 1.347 GB, free: 10.47 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005409/0.4867, allocations: 294.8 kB / 1.347 GB, free: 10.18 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.4882, allocations: 0.6337 MB / 1.348 GB, free: 9.547 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004554/0.4927, allocations: 1.981 MB / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4927, allocations: 0 / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4927, allocations: 0 / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.56e-05/0.4928, allocations: 0 / 1.35 GB, free: 7.559 MB / 1.045 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.003533/0.4964, allocations: 1.485 MB / 1.351 GB, free: 6.035 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4964, allocations: 8.031 kB / 1.351 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005161/0.4969, allocations: 136.1 kB / 1.351 GB, free: 5.895 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.4992, allocations: 1.048 MB / 1.352 GB, free: 4.812 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-05/0.4993, allocations: 58 kB / 1.352 GB, free: 4.754 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.4994, allocations: 75.95 kB / 1.352 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.5009, allocations: 0.7866 MB / 1.353 GB, free: 3.859 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.501, allocations: 0 / 1.353 GB, free: 3.859 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/0.501, allocations: 28 kB / 1.353 GB, free: 3.832 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.5011, allocations: 20 kB / 1.353 GB, free: 3.812 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.5023, allocations: 0.5788 MB / 1.354 GB, free: 3.234 MB / 1.045 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.005091/0.5074, allocations: 3.48 MB / 1.357 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.5081, allocations: 253.3 kB / 1.357 GB, free: 15.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.5085, allocations: 164.8 kB / 1.358 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/0.5088, allocations: 56.48 kB / 1.358 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.187e-05/0.5088, allocations: 38.56 kB / 1.358 GB, free: 15.02 MB / 1.061 GB Notification: Performance of pre-optimization done (n=31): time 2.204e-06/0.5088, allocations: 0 / 1.358 GB, free: 15.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=31): time 0.00142/0.5102, allocations: 0.528 MB / 1.358 GB, free: 14.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.5103, allocations: 55.41 kB / 1.358 GB, free: 14.42 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.5118, allocations: 0.9573 MB / 1.359 GB, free: 13.44 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.5119, allocations: 29.7 kB / 1.359 GB, free: 13.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005064/0.5124, allocations: 0.4966 MB / 1.36 GB, free: 12.9 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.5125, allocations: 119 kB / 1.36 GB, free: 12.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.5127, allocations: 122.2 kB / 1.36 GB, free: 12.66 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5129, allocations: 333.9 kB / 1.36 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.5133, allocations: 165.2 kB / 1.36 GB, free: 12.17 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005744/0.5139, allocations: 351.8 kB / 1.361 GB, free: 11.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009238/0.5148, allocations: 0.5069 MB / 1.361 GB, free: 11.17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.5148, allocations: 4.062 kB / 1.361 GB, free: 11.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001374/0.5162, allocations: 0.6214 MB / 1.362 GB, free: 10.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.5162, allocations: 8 kB / 1.362 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.5162, allocations: 8.688 kB / 1.362 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.5162, allocations: 8 kB / 1.362 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.5167, allocations: 123.8 kB / 1.362 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.5167, allocations: 15.92 kB / 1.362 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/0.5174, allocations: 83.48 kB / 1.362 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.5175, allocations: 24 kB / 1.362 GB, free: 10.27 MB / 1.061 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.0004595/0.5179, allocations: 273.6 kB / 1.362 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.5182, allocations: 111.3 kB / 1.362 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.5192, allocations: 494 kB / 1.363 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.5192, allocations: 7.984 kB / 1.363 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5193, allocations: 0 / 1.363 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000814/0.5201, allocations: 461 kB / 1.363 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.5225, allocations: 1.342 MB / 1.365 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5225, allocations: 0 / 1.365 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.5228, allocations: 75.89 kB / 1.365 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.5228, allocations: 7.938 kB / 1.365 GB, free: 7.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.5229, allocations: 8 kB / 1.365 GB, free: 7.402 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.5229, allocations: 4 kB / 1.365 GB, free: 7.398 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5229, allocations: 0 / 1.365 GB, free: 7.398 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.5243, allocations: 0.7851 MB / 1.366 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004125/0.5247, allocations: 155.2 kB / 1.366 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.5249, allocations: 8 kB / 1.366 GB, free: 6.426 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005401/0.5255, allocations: 31.95 kB / 1.366 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.5255, allocations: 27.94 kB / 1.366 GB, free: 6.367 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.5256, allocations: 23.98 kB / 1.366 GB, free: 6.344 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001127/0.5267, allocations: 0.6628 MB / 1.366 GB, free: 5.672 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5267, allocations: 0 / 1.366 GB, free: 5.672 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001127/0.5278, allocations: 351.2 kB / 1.367 GB, free: 5.328 MB / 1.061 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.0007537/0.5286, allocations: 369.2 kB / 1.367 GB, free: 4.961 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009922/0.5296, allocations: 405.2 kB / 1.367 GB, free: 4.566 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5296, allocations: 0 / 1.367 GB, free: 4.566 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.53, allocations: 176.5 kB / 1.368 GB, free: 4.395 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/0.5329, allocations: 0.6123 MB / 1.368 GB, free: 3.793 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/0.5372, allocations: 1.62 MB / 1.37 GB, free: 2.121 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.5382, allocations: 1.036 MB / 1.371 GB, free: 1.055 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0008262/0.539, allocations: 193.8 kB / 1.371 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.5393, allocations: 83.36 kB / 1.371 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of SimCode: time 7.22e-07/0.5393, allocations: 0 / 1.371 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of Templates: time 0.04366/0.5829, allocations: 21.8 MB / 1.392 GB, free: 11.25 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.112965058069676]