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.001025/0.001025, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001064/0.001064, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.196/2.196, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.552e-06/1.552e-06, allocations: 0.6562 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.335e-05, allocations: 6.312 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.02179/0.02181, allocations: 21.26 MB / 0.9002 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01711/0.03892, allocations: 9.374 MB / 0.9093 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.041, allocations: 166.6 kB / 0.9095 GB, free: 7.137 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.04203, allocations: 0.6823 MB / 0.9101 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003279/0.04531, allocations: 2.498 MB / 0.9126 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.04839, allocations: 2.405 MB / 0.9149 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.005275/0.05367, allocations: 6.785 MB / 0.9216 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/0.05542, allocations: 1.675 MB / 0.9232 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003585/0.059, allocations: 3.285 MB / 0.9264 GB, free: 5.727 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.06069, allocations: 1.624 MB / 0.928 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002596/0.06095, allocations: 204 kB / 0.9282 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.06158, allocations: 411.4 kB / 0.9286 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003672/0.06195, allocations: 0.603 MB / 0.9292 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0007516/0.0627, allocations: 0.8807 MB / 0.93 GB, free: 2.008 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.06435, allocations: 1.989 MB / 0.932 GB, free: 12 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.06436, allocations: 0 / 0.932 GB, free: 12 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.112e-06/0.06436, allocations: 0 / 0.932 GB, free: 12 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.06437, allocations: 0 / 0.932 GB, free: 12 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.00238/0.06675, allocations: 2.784 MB / 0.9347 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.06678, allocations: 8.031 kB / 0.9347 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004666/0.06725, allocations: 430.8 kB / 0.9351 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.06894, allocations: 1.877 MB / 0.9369 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/0.069, allocations: 118.7 kB / 0.9371 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.06914, allocations: 160 kB / 0.9372 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.07022, allocations: 1.335 MB / 0.9385 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.07025, allocations: 3.938 kB / 0.9385 GB, free: 9.023 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.159e-05/0.07033, allocations: 60 kB / 0.9386 GB, free: 8.965 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.07037, allocations: 36 kB / 0.9386 GB, free: 8.93 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.07086, allocations: 407.7 kB / 0.939 GB, free: 8.516 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.004109/0.07497, allocations: 5.87 MB / 0.9447 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.07526, allocations: 225.6 kB / 0.9449 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.07539, allocations: 121.1 kB / 0.9451 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.0755, allocations: 44.41 kB / 0.9451 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.07552, allocations: 41.89 kB / 0.9451 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=59): time 1.623e-06/0.07553, allocations: 0 / 0.9451 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=59): time 0.0006022/0.07613, allocations: 0.4998 MB / 0.9456 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.07616, allocations: 59.91 kB / 0.9457 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.07719, allocations: 1.482 MB / 0.9471 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.07724, allocations: 53.7 kB / 0.9472 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005644/0.0778, allocations: 1.081 MB / 0.9482 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.07793, allocations: 238.1 kB / 0.9485 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.07815, allocations: 304.9 kB / 0.9488 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.0783, allocations: 0.5315 MB / 0.9493 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.0785, allocations: 135.9 kB / 0.9494 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/0.07913, allocations: 1.235 MB / 0.9506 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007817/0.07991, allocations: 1.145 MB / 0.9517 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.07992, allocations: 8 kB / 0.9517 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.00103/0.08095, allocations: 1.067 MB / 0.9528 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.08097, allocations: 16 kB / 0.9528 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.08098, allocations: 16 kB / 0.9528 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.08101, allocations: 28 kB / 0.9528 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/0.08157, allocations: 323.5 kB / 0.9531 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.08159, allocations: 40.23 kB / 0.9532 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/0.0821, allocations: 162.9 kB / 0.9533 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/0.08216, allocations: 59.98 kB / 0.9534 GB, free: 8.684 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.0002671/0.08243, allocations: 252 kB / 0.9536 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.0826, allocations: 210.7 kB / 0.9538 GB, free: 8.219 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005459/0.08315, allocations: 0.5025 MB / 0.9543 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.08316, allocations: 8 kB / 0.9543 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.08316, allocations: 4 kB / 0.9543 GB, free: 7.699 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003287/0.08349, allocations: 449.2 kB / 0.9548 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.08504, allocations: 1.543 MB / 0.9563 GB, free: 5.594 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.08504, allocations: 0 / 0.9563 GB, free: 5.594 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.08537, allocations: 156.1 kB / 0.9564 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.08538, allocations: 4 kB / 0.9564 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.0854, allocations: 16 kB / 0.9564 GB, free: 5.422 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.0854, allocations: 7.938 kB / 0.9565 GB, free: 5.414 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.08541, allocations: 4 kB / 0.9565 GB, free: 5.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/0.08608, allocations: 0.8203 MB / 0.9573 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.08639, allocations: 274.5 kB / 0.9575 GB, free: 4.262 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.08649, allocations: 16 kB / 0.9575 GB, free: 4.246 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.08687, allocations: 39.91 kB / 0.9576 GB, free: 4.207 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.08694, allocations: 56.34 kB / 0.9576 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.08698, allocations: 31.97 kB / 0.9577 GB, free: 4.121 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005522/0.08753, allocations: 0.8064 MB / 0.9584 GB, free: 3.289 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.08753, allocations: 0 / 0.9584 GB, free: 3.289 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000789/0.08832, allocations: 0.5418 MB / 0.959 GB, free: 2.746 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.0002628/0.08858, allocations: 202.8 kB / 0.9592 GB, free: 2.539 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005387/0.08912, allocations: 0.5413 MB / 0.9597 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.08912, allocations: 0 / 0.9597 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.0893, allocations: 183.6 kB / 0.9599 GB, free: 1.82 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.09126, allocations: 0.9494 MB / 0.9608 GB, free: 0.8867 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.09399, allocations: 2.941 MB / 0.9637 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.09421, allocations: 348.6 kB / 0.964 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005534/0.09477, allocations: 295.8 kB / 0.9643 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/0.0959, allocations: 0.7787 MB / 0.965 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of SimCode: time 7.41e-07/0.0959, allocations: 4 kB / 0.965 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of Templates: time 0.03709/0.133, allocations: 34.97 MB / 0.9992 GB, free: 10.25 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.3716102610342205]