Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001405/0.001405, allocations: 84.73 kB / 19.44 MB, free: 352 kB / 13.93 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.001582/0.001582, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 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.547/1.547, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.213/3.213, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.203e-05/3.397e-05, allocations: 3.375 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05949/0.05952, allocations: 38.32 MB / 0.915 GB, free: 64 kB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01991/0.07944, allocations: 10.59 MB / 0.9254 GB, free: 5.441 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002009/0.08145, allocations: 87.25 kB / 0.9255 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.08372, allocations: 0.6441 MB / 0.9261 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.006863/0.09058, allocations: 2.094 MB / 0.9281 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.004621/0.09521, allocations: 1.566 MB / 0.9297 GB, free: 1.031 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.006287/0.1015, allocations: 3.558 MB / 0.9331 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001958/0.1035, allocations: 0.8592 MB / 0.934 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005753/0.1092, allocations: 1.956 MB / 0.9359 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/0.1111, allocations: 0.7982 MB / 0.9367 GB, free: 9.828 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0003724/0.1115, allocations: 100 kB / 0.9368 GB, free: 9.73 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/0.1142, allocations: 0.717 MB / 0.9375 GB, free: 9.012 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0005881/0.1148, allocations: 326.6 kB / 0.9378 GB, free: 8.691 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.116, allocations: 454.9 kB / 0.9382 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.004415/0.1204, allocations: 2.025 MB / 0.9402 GB, free: 6.215 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1204, allocations: 4 kB / 0.9402 GB, free: 6.211 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1204, allocations: 0 / 0.9402 GB, free: 6.211 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.018e-05/0.1205, allocations: 4 kB / 0.9402 GB, free: 6.207 MB / 0.9011 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.00473/0.1252, allocations: 1.535 MB / 0.9417 GB, free: 4.637 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1253, allocations: 12.03 kB / 0.9417 GB, free: 4.625 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007319/0.126, allocations: 216 kB / 0.9419 GB, free: 4.414 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/0.1287, allocations: 1.192 MB / 0.9431 GB, free: 3.184 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.568e-05/0.1288, allocations: 62.38 kB / 0.9431 GB, free: 3.125 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.129, allocations: 83.94 kB / 0.9432 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.131, allocations: 0.9372 MB / 0.9441 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.1311, allocations: 3.984 kB / 0.9441 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.1312, allocations: 32 kB / 0.9442 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/0.1312, allocations: 19.94 kB / 0.9442 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.1327, allocations: 0.5633 MB / 0.9447 GB, free: 1.41 MB / 0.9011 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.005751/0.1384, allocations: 2.71 MB / 0.9474 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/0.1392, allocations: 242.4 kB / 0.9476 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.1396, allocations: 164.8 kB / 0.9478 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/0.1399, allocations: 63.95 kB / 0.9478 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.1399, allocations: 42.5 kB / 0.9479 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/0.1399, allocations: 0 / 0.9479 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of matching and sorting (n=31): time 0.001541/0.1415, allocations: 0.5307 MB / 0.9484 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.1415, allocations: 55.41 kB / 0.9484 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.1431, allocations: 0.8883 MB / 0.9493 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.181e-05/0.1432, allocations: 37.7 kB / 0.9493 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005822/0.1438, allocations: 0.5312 MB / 0.9499 GB, free: 12 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.1439, allocations: 115.1 kB / 0.95 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.1442, allocations: 142.6 kB / 0.9501 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.1444, allocations: 334 kB / 0.9504 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.1448, allocations: 185.9 kB / 0.9506 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.146, allocations: 0.618 MB / 0.9512 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.1472, allocations: 0.6709 MB / 0.9519 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.1473, allocations: 4 kB / 0.9519 GB, free: 9.645 MB / 0.9167 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001719/0.149, allocations: 0.7704 MB / 0.9526 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.149, allocations: 11.94 kB / 0.9526 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.149, allocations: 11.98 kB / 0.9526 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.476e-05/0.1491, allocations: 12 kB / 0.9526 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/0.1497, allocations: 163.7 kB / 0.9528 GB, free: 8.672 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.793e-05/0.1497, allocations: 15.94 kB / 0.9528 GB, free: 8.656 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/0.1504, allocations: 87.41 kB / 0.9529 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.461e-05/0.1505, allocations: 36 kB / 0.9529 GB, free: 8.535 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (83): * Single equations (assignments): 83 * 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.0005215/0.151, allocations: 297.6 kB / 0.9532 GB, free: 8.234 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.1513, allocations: 107.3 kB / 0.9533 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.1525, allocations: 484 kB / 0.9538 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.1525, allocations: 7.984 kB / 0.9538 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1525, allocations: 0 / 0.9538 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009227/0.1535, allocations: 455 kB / 0.9542 GB, free: 7.164 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.156, allocations: 1.187 MB / 0.9554 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.156, allocations: 4.156 kB / 0.9554 GB, free: 5.922 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.1564, allocations: 71.89 kB / 0.9555 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/0.1564, allocations: 4 kB / 0.9555 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.1565, allocations: 11.98 kB / 0.9555 GB, free: 5.836 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.1565, allocations: 4 kB / 0.9555 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1565, allocations: 0 / 0.9555 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.1582, allocations: 0.7864 MB / 0.9562 GB, free: 5.016 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.1585, allocations: 147.3 kB / 0.9564 GB, free: 4.871 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.1587, allocations: 12 kB / 0.9564 GB, free: 4.859 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005382/0.1592, allocations: 27.97 kB / 0.9564 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.465e-05/0.1593, allocations: 31.89 kB / 0.9564 GB, free: 4.801 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.1593, allocations: 15.98 kB / 0.9565 GB, free: 4.785 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001006/0.1603, allocations: 0.595 MB / 0.957 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1603, allocations: 4 kB / 0.957 GB, free: 4.176 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00125/0.1616, allocations: 371 kB / 0.9574 GB, free: 3.809 MB / 0.9167 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.00104/0.1626, allocations: 381.9 kB / 0.9578 GB, free: 3.43 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.1638, allocations: 465.3 kB / 0.9582 GB, free: 2.977 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1638, allocations: 0 / 0.9582 GB, free: 2.977 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004556/0.1643, allocations: 172.5 kB / 0.9584 GB, free: 2.809 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.1666, allocations: 494.7 kB / 0.9588 GB, free: 2.332 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.1699, allocations: 1.641 MB / 0.9604 GB, free: 0.6367 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.1705, allocations: 470.5 kB / 0.9609 GB, free: 144 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007312/0.1713, allocations: 186.5 kB / 0.9611 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.1715, allocations: 76.42 kB / 0.9611 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of SimCode: time 7.32e-07/0.1715, allocations: 0 / 0.9611 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of Templates: time 0.03793/0.2094, allocations: 19.1 MB / 0.9798 GB, free: 13.21 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.372039253008552]