Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.00139/0.00139, allocations: 92.22 kB / 19.65 MB, free: 276 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.00187/0.00187, allocations: 169 kB / 23.02 MB, free: 1.551 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.02/1.02, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 2.142/2.142, allocations: 429.5 MB / 0.6733 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] 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.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.479e-05, allocations: 10.25 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01989/0.01991, allocations: 21.58 MB / 0.8993 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01535/0.03527, allocations: 9.42 MB / 0.9085 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.03794, allocations: 166.6 kB / 0.9086 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.03933, allocations: 0.6784 MB / 0.9093 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.004424/0.04376, allocations: 2.502 MB / 0.9117 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004083/0.04784, allocations: 2.397 MB / 0.9141 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.006713/0.05455, allocations: 6.787 MB / 0.9207 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.05651, allocations: 1.679 MB / 0.9223 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004296/0.06081, allocations: 3.04 MB / 0.9253 GB, free: 5.918 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/0.0629, allocations: 1.628 MB / 0.9269 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0003174/0.06321, allocations: 208 kB / 0.9271 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000978/0.06419, allocations: 431.4 kB / 0.9275 GB, free: 3.66 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.06468, allocations: 0.6107 MB / 0.9281 GB, free: 3.047 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.06572, allocations: 0.8962 MB / 0.929 GB, free: 2.148 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.06833, allocations: 2.016 MB / 0.9309 GB, free: 128 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.06834, allocations: 0 / 0.9309 GB, free: 128 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.483e-06/0.06834, allocations: 0 / 0.9309 GB, free: 128 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.217e-05/0.06838, allocations: 4 kB / 0.931 GB, free: 124 kB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.002929/0.07131, allocations: 2.804 MB / 0.9337 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.07135, allocations: 8.031 kB / 0.9337 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005526/0.07191, allocations: 430.9 kB / 0.9341 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.07411, allocations: 2.119 MB / 0.9362 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.035e-05/0.07418, allocations: 118.7 kB / 0.9363 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.07434, allocations: 160 kB / 0.9364 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.07581, allocations: 1.413 MB / 0.9378 GB, free: 8.797 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.07584, allocations: 11.95 kB / 0.9378 GB, free: 8.785 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/0.07592, allocations: 52 kB / 0.9379 GB, free: 8.734 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-05/0.07597, allocations: 43.98 kB / 0.9379 GB, free: 8.691 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008123/0.07678, allocations: 498.8 kB / 0.9384 GB, free: 8.195 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.00452/0.0813, allocations: 5.832 MB / 0.9441 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.08171, allocations: 257.5 kB / 0.9443 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.0819, allocations: 139.6 kB / 0.9445 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.08204, allocations: 44.42 kB / 0.9445 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.08207, allocations: 41.89 kB / 0.9446 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=59): time 2.384e-06/0.08207, allocations: 0 / 0.9446 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of matching and sorting (n=59): time 0.0007599/0.08283, allocations: 0.5545 MB / 0.9451 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.08287, allocations: 59.91 kB / 0.9452 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.08415, allocations: 1.526 MB / 0.9466 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.0842, allocations: 49.7 kB / 0.9467 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005501/0.08475, allocations: 1.066 MB / 0.9477 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.08487, allocations: 226.1 kB / 0.948 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.08511, allocations: 301.1 kB / 0.9482 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.08526, allocations: 0.5238 MB / 0.9487 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.08549, allocations: 155.9 kB / 0.9489 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000673/0.08616, allocations: 1.247 MB / 0.9501 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008438/0.08701, allocations: 1.176 MB / 0.9513 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.08701, allocations: 4 kB / 0.9513 GB, free: 9.953 MB / 0.9167 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001117/0.08813, allocations: 1.114 MB / 0.9524 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.08815, allocations: 12 kB / 0.9524 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.08817, allocations: 16 kB / 0.9524 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.08819, allocations: 28 kB / 0.9524 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/0.08877, allocations: 331.9 kB / 0.9527 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/0.08879, allocations: 35.86 kB / 0.9528 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.08931, allocations: 166.9 kB / 0.9529 GB, free: 8.254 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/0.08937, allocations: 71.98 kB / 0.953 GB, free: 8.184 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (171): * Single equations (assignments): 171 * 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.0002633/0.08963, allocations: 252 kB / 0.9532 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.08981, allocations: 214.7 kB / 0.9534 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006855/0.0905, allocations: 0.5295 MB / 0.9539 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.0905, allocations: 12 kB / 0.954 GB, free: 7.168 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.09051, allocations: 0 / 0.954 GB, free: 7.168 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004198/0.09093, allocations: 497.2 kB / 0.9544 GB, free: 6.633 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.09278, allocations: 1.848 MB / 0.9562 GB, free: 4.699 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.09279, allocations: 4 kB / 0.9562 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.09315, allocations: 156 kB / 0.9564 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.09315, allocations: 4 kB / 0.9564 GB, free: 4.539 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.09318, allocations: 16 kB / 0.9564 GB, free: 4.523 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.09319, allocations: 7.984 kB / 0.9564 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.09319, allocations: 7.938 kB / 0.9564 GB, free: 4.508 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008561/0.09405, allocations: 0.8634 MB / 0.9573 GB, free: 3.582 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/0.09438, allocations: 274.6 kB / 0.9575 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.09448, allocations: 16 kB / 0.9575 GB, free: 3.297 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.09488, allocations: 43.95 kB / 0.9576 GB, free: 3.254 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/0.09497, allocations: 56.3 kB / 0.9576 GB, free: 3.199 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.09502, allocations: 35.97 kB / 0.9577 GB, free: 3.164 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008189/0.09584, allocations: 0.8888 MB / 0.9585 GB, free: 2.254 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.5e-07/0.09584, allocations: 0 / 0.9585 GB, free: 2.254 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009566/0.09679, allocations: 0.5573 MB / 0.9591 GB, free: 1.695 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0003338/0.09713, allocations: 206.8 kB / 0.9593 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007145/0.09784, allocations: 0.58 MB / 0.9599 GB, free: 0.9102 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.09785, allocations: 4 kB / 0.9599 GB, free: 0.9062 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.09808, allocations: 195.7 kB / 0.96 GB, free: 0.7148 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.1002, allocations: 0.9478 MB / 0.961 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.1035, allocations: 2.942 MB / 0.9638 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.1037, allocations: 352.6 kB / 0.9642 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006647/0.1044, allocations: 340.8 kB / 0.9645 GB, free: 12.05 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.1045, allocations: 140.5 kB / 0.9646 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of SimCode: time 9.92e-07/0.1045, allocations: 4 kB / 0.9646 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of Templates: time 0.03465/0.1392, allocations: 31.69 MB / 0.9956 GB, free: 13 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.3553947429172695]