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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 109.7 kB / 18.84 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0024/0.0024, allocations: 190.8 kB / 22.1 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 250.8 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.298/3.298, allocations: 495.8 MB / 0.783 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 63.39 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3678, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04898/0.4168, allocations: 41.94 MB / 1.348 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01777/0.4346, allocations: 10.37 MB / 1.358 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/0.4375, allocations: 79.31 kB / 1.358 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.4401, allocations: 0.6755 MB / 1.359 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007151/0.4472, allocations: 2.015 MB / 1.361 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003602/0.4508, allocations: 1.234 MB / 1.362 GB, free: 9.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005519/0.4563, allocations: 3.496 MB / 1.365 GB, free: 5.816 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001782/0.4581, allocations: 0.8029 MB / 1.366 GB, free: 4.996 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004217/0.4623, allocations: 1.443 MB / 1.367 GB, free: 3.547 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.4641, allocations: 0.9256 MB / 1.368 GB, free: 2.617 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.4642, allocations: 104 kB / 1.368 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.4662, allocations: 0.7134 MB / 1.369 GB, free: 1.801 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003364/0.4665, allocations: 294.8 kB / 1.369 GB, free: 1.512 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008762/0.4674, allocations: 0.626 MB / 1.37 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003234/0.4706, allocations: 1.907 MB / 1.372 GB, free: 14.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4706, allocations: 0 / 1.372 GB, free: 14.97 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4706, allocations: 0 / 1.372 GB, free: 14.97 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.4707, allocations: 0 / 1.372 GB, free: 14.97 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.002768/0.4734, allocations: 1.477 MB / 1.373 GB, free: 13.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4735, allocations: 8.031 kB / 1.373 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/0.4738, allocations: 144.1 kB / 1.373 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.4758, allocations: 1.06 MB / 1.374 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/0.4758, allocations: 53.94 kB / 1.374 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.4759, allocations: 72 kB / 1.375 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.4774, allocations: 0.7866 MB / 1.375 GB, free: 11.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.4774, allocations: 4 kB / 1.375 GB, free: 11.26 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.826e-05/0.4775, allocations: 28 kB / 1.375 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.4775, allocations: 27.92 kB / 1.375 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.4787, allocations: 0.5711 MB / 1.376 GB, free: 10.64 MB / 1.076 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.004768/0.4835, allocations: 3.627 MB / 1.379 GB, free: 6.758 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006124/0.4841, allocations: 252.8 kB / 1.38 GB, free: 6.504 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003839/0.4845, allocations: 161.3 kB / 1.38 GB, free: 6.344 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/0.4848, allocations: 59.95 kB / 1.38 GB, free: 6.285 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.4848, allocations: 38.56 kB / 1.38 GB, free: 6.238 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 3.086e-06/0.4848, allocations: 4 kB / 1.38 GB, free: 6.234 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.001304/0.4861, allocations: 0.5208 MB / 1.38 GB, free: 5.707 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.4862, allocations: 59.34 kB / 1.381 GB, free: 5.637 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.4875, allocations: 0.9534 MB / 1.381 GB, free: 4.664 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.4875, allocations: 33.69 kB / 1.382 GB, free: 4.625 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/0.488, allocations: 0.5043 MB / 1.382 GB, free: 4.113 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.4881, allocations: 119 kB / 1.382 GB, free: 3.996 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.4883, allocations: 118.2 kB / 1.382 GB, free: 3.871 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4885, allocations: 329.9 kB / 1.383 GB, free: 3.543 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.4888, allocations: 161.2 kB / 1.383 GB, free: 3.387 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005816/0.4894, allocations: 355.9 kB / 1.383 GB, free: 2.961 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009101/0.4903, allocations: 0.5077 MB / 1.384 GB, free: 2.383 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.4903, allocations: 4 kB / 1.384 GB, free: 2.379 MB / 1.076 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001244/0.4916, allocations: 0.6174 MB / 1.384 GB, free: 1.754 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.4916, allocations: 8.688 kB / 1.384 GB, free: 1.746 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4916, allocations: 8 kB / 1.384 GB, free: 1.738 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.4916, allocations: 12 kB / 1.384 GB, free: 1.727 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.4921, allocations: 123.9 kB / 1.384 GB, free: 1.605 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/0.4921, allocations: 15.92 kB / 1.384 GB, free: 1.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006076/0.4927, allocations: 87.44 kB / 1.384 GB, free: 1.504 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.4928, allocations: 24 kB / 1.384 GB, free: 1.48 MB / 1.076 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.0004424/0.4932, allocations: 277.6 kB / 1.385 GB, free: 1.199 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.4934, allocations: 107.3 kB / 1.385 GB, free: 1.094 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.4945, allocations: 491.8 kB / 1.385 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.4945, allocations: 7.984 kB / 1.385 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4945, allocations: 0 / 1.385 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007926/0.4953, allocations: 459.3 kB / 1.386 GB, free: 128 kB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.4976, allocations: 1.342 MB / 1.387 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4976, allocations: 7.984 kB / 1.387 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/0.4979, allocations: 71.89 kB / 1.387 GB, free: 14.64 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/0.4979, allocations: 7.938 kB / 1.387 GB, free: 14.63 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.498, allocations: 8 kB / 1.387 GB, free: 14.62 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.498, allocations: 0 / 1.387 GB, free: 14.62 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.498, allocations: 4 kB / 1.387 GB, free: 14.62 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.4993, allocations: 0.7811 MB / 1.388 GB, free: 13.81 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.4997, allocations: 159.1 kB / 1.388 GB, free: 13.65 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.4998, allocations: 8 kB / 1.388 GB, free: 13.64 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004925/0.5003, allocations: 31.95 kB / 1.388 GB, free: 13.61 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.5004, allocations: 23.95 kB / 1.388 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.5004, allocations: 28.05 kB / 1.388 GB, free: 13.56 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009765/0.5014, allocations: 0.6588 MB / 1.389 GB, free: 12.89 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5014, allocations: 0 / 1.389 GB, free: 12.89 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001003/0.5024, allocations: 339.3 kB / 1.389 GB, free: 12.56 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.000907/0.5033, allocations: 390.3 kB / 1.389 GB, free: 12.18 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.5043, allocations: 416.2 kB / 1.39 GB, free: 11.77 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5043, allocations: 1.375 kB / 1.39 GB, free: 11.77 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004083/0.5047, allocations: 180.1 kB / 1.39 GB, free: 11.6 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/0.5075, allocations: 0.6118 MB / 1.391 GB, free: 11 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.5109, allocations: 1.622 MB / 1.392 GB, free: 9.324 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008506/0.5117, allocations: 1.044 MB / 1.393 GB, free: 8.25 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008458/0.5126, allocations: 196.3 kB / 1.393 GB, free: 8.059 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.5128, allocations: 79.41 kB / 1.393 GB, free: 7.98 MB / 1.092 GB Notification: Performance of SimCode: time 1.463e-06/0.5128, allocations: 0 / 1.393 GB, free: 7.98 MB / 1.092 GB Notification: Performance of Templates: time 0.04215/0.5549, allocations: 21.81 MB / 1.415 GB, free: 2.434 MB / 1.107 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: 10.070117616094649]