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.001827/0.001827, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002058/0.002058, allocations: 218.3 kB / 23.01 MB, free: 4.605 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.783/2.783, allocations: 476.7 MB / 0.7714 GB, free: 4.285 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.002075/0.002075, allocations: 69.58 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3347, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04607/0.3808, allocations: 42.49 MB / 1.326 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01618/0.397, allocations: 10.44 MB / 1.336 GB, free: 6.129 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.399, allocations: 83.31 kB / 1.336 GB, free: 6.047 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.401, allocations: 0.6716 MB / 1.337 GB, free: 5.371 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006272/0.4073, allocations: 2.027 MB / 1.339 GB, free: 3.336 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004288/0.4116, allocations: 1.23 MB / 1.34 GB, free: 2.117 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005925/0.4175, allocations: 3.484 MB / 1.344 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.4191, allocations: 0.8184 MB / 1.344 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003697/0.4228, allocations: 1.292 MB / 1.346 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.4243, allocations: 0.9334 MB / 1.347 GB, free: 11.56 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.4245, allocations: 100 kB / 1.347 GB, free: 11.46 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.4269, allocations: 0.9435 MB / 1.348 GB, free: 10.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00035/0.4272, allocations: 298.8 kB / 1.348 GB, free: 10.22 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008204/0.428, allocations: 0.626 MB / 1.349 GB, free: 9.594 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003603/0.4316, allocations: 1.985 MB / 1.35 GB, free: 7.602 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4316, allocations: 0 / 1.35 GB, free: 7.602 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4316, allocations: 3.938 kB / 1.35 GB, free: 7.598 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.4316, allocations: 0 / 1.35 GB, free: 7.598 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.002666/0.4343, allocations: 1.479 MB / 1.352 GB, free: 6.082 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4344, allocations: 11.97 kB / 1.352 GB, free: 6.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000409/0.4348, allocations: 140.1 kB / 1.352 GB, free: 5.934 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.4367, allocations: 1.048 MB / 1.353 GB, free: 4.852 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.4368, allocations: 53.98 kB / 1.353 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.4369, allocations: 72 kB / 1.353 GB, free: 4.727 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.4382, allocations: 0.7905 MB / 1.354 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.4383, allocations: 0 / 1.354 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.4383, allocations: 32 kB / 1.354 GB, free: 3.871 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.4384, allocations: 20 kB / 1.354 GB, free: 3.852 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.4395, allocations: 0.575 MB / 1.355 GB, free: 3.277 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.004697/0.4442, allocations: 3.483 MB / 1.358 GB, free: 15.58 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/0.4448, allocations: 241 kB / 1.358 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.4452, allocations: 164.8 kB / 1.358 GB, free: 15.17 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.4455, allocations: 60.47 kB / 1.358 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/0.4455, allocations: 38.56 kB / 1.358 GB, free: 15.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/0.4455, allocations: 0 / 1.358 GB, free: 15.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=31): time 0.001306/0.4468, allocations: 0.528 MB / 1.359 GB, free: 14.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.4469, allocations: 55.41 kB / 1.359 GB, free: 14.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.4481, allocations: 0.9533 MB / 1.36 GB, free: 13.49 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.4481, allocations: 37.7 kB / 1.36 GB, free: 13.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004316/0.4486, allocations: 0.4887 MB / 1.36 GB, free: 12.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.4487, allocations: 127 kB / 1.361 GB, free: 12.83 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.4489, allocations: 118.3 kB / 1.361 GB, free: 12.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.449, allocations: 329.9 kB / 1.361 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.4493, allocations: 161.2 kB / 1.361 GB, free: 12.22 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.4499, allocations: 359.8 kB / 1.362 GB, free: 11.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008245/0.4507, allocations: 0.5069 MB / 1.362 GB, free: 11.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4507, allocations: 4 kB / 1.362 GB, free: 11.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001147/0.4518, allocations: 0.6253 MB / 1.363 GB, free: 10.58 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.4519, allocations: 4 kB / 1.363 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4519, allocations: 11.94 kB / 1.363 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.4519, allocations: 8.594 kB / 1.363 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.4523, allocations: 123.8 kB / 1.363 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.4523, allocations: 8 kB / 1.363 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/0.4529, allocations: 83.47 kB / 1.363 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.453, allocations: 24.06 kB / 1.363 GB, free: 10.32 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.0003964/0.4534, allocations: 277.6 kB / 1.363 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.4535, allocations: 111.3 kB / 1.363 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009792/0.4545, allocations: 0.4937 MB / 1.364 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.4545, allocations: 7.984 kB / 1.364 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.4545, allocations: 0 / 1.364 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007316/0.4553, allocations: 465 kB / 1.364 GB, free: 8.938 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.4575, allocations: 1.334 MB / 1.365 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4575, allocations: 4.031 kB / 1.365 GB, free: 7.531 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/0.4578, allocations: 79.88 kB / 1.366 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.4578, allocations: 7.938 kB / 1.366 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.4579, allocations: 8 kB / 1.366 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.4579, allocations: 4 kB / 1.366 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4579, allocations: 0 / 1.366 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.4593, allocations: 0.7811 MB / 1.366 GB, free: 6.625 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.4597, allocations: 159.1 kB / 1.366 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.4598, allocations: 8 kB / 1.366 GB, free: 6.461 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/0.4603, allocations: 35.94 kB / 1.367 GB, free: 6.426 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.4603, allocations: 31.89 kB / 1.367 GB, free: 6.395 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.4604, allocations: 15.98 kB / 1.367 GB, free: 6.379 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009605/0.4613, allocations: 0.6667 MB / 1.367 GB, free: 5.703 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4613, allocations: 4 kB / 1.367 GB, free: 5.699 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001063/0.4624, allocations: 343.3 kB / 1.368 GB, free: 5.363 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.0006508/0.463, allocations: 366.5 kB / 1.368 GB, free: 4.996 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009225/0.464, allocations: 393.3 kB / 1.368 GB, free: 4.613 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.464, allocations: 8.125 kB / 1.368 GB, free: 4.605 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.4644, allocations: 176.5 kB / 1.368 GB, free: 4.434 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.4668, allocations: 0.6218 MB / 1.369 GB, free: 3.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.4696, allocations: 1.646 MB / 1.371 GB, free: 2.117 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006922/0.4703, allocations: 1.028 MB / 1.372 GB, free: 1.059 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.4705, allocations: 83.42 kB / 1.372 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of SimCode: time 2.084e-06/0.4705, allocations: 0 / 1.372 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of Templates: time 0.03082/0.5013, allocations: 18.16 MB / 1.389 GB, free: 14.97 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/jenkins1/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: 15.012824528006604]