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.001384/0.001384, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001739/0.001739, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9767/0.9767, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.332/2.332, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.562e-06/1.562e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15e-05/1.306e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01433/0.01434, allocations: 21.3 MB / 0.8594 GB, free: 8.859 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01274/0.02708, allocations: 9.591 MB / 0.8688 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.02888, allocations: 166.6 kB / 0.8689 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.02996, allocations: 0.6784 MB / 0.8696 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.003333/0.03329, allocations: 2.513 MB / 0.872 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003711/0.037, allocations: 2.393 MB / 0.8744 GB, free: 9.473 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.005007/0.04201, allocations: 6.792 MB / 0.881 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/0.0437, allocations: 1.718 MB / 0.8827 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003409/0.04711, allocations: 3.268 MB / 0.8859 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.04842, allocations: 1.539 MB / 0.8874 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.04862, allocations: 200 kB / 0.8876 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006016/0.04922, allocations: 419.4 kB / 0.888 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003592/0.04958, allocations: 0.6029 MB / 0.8885 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006526/0.05023, allocations: 0.8807 MB / 0.8894 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.0518, allocations: 1.981 MB / 0.8913 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.0518, allocations: 0 / 0.8913 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.32e-07/0.0518, allocations: 0 / 0.8913 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.972e-05/0.05182, allocations: 0 / 0.8913 GB, free: 8.004 MB / 0.8542 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.002165/0.05399, allocations: 2.617 MB / 0.8939 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.05402, allocations: 12.62 kB / 0.8939 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004135/0.05443, allocations: 328.3 kB / 0.8942 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.05594, allocations: 1.427 MB / 0.8956 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.797e-05/0.05599, allocations: 118.7 kB / 0.8957 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.05613, allocations: 164 kB / 0.8959 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009897/0.05712, allocations: 1.306 MB / 0.8972 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.05715, allocations: 11.89 kB / 0.8972 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.748e-05/0.05721, allocations: 56 kB / 0.8972 GB, free: 1.707 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/0.05725, allocations: 43.98 kB / 0.8973 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.05772, allocations: 387.6 kB / 0.8976 GB, free: 1.27 MB / 0.8542 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.003422/0.06114, allocations: 4.297 MB / 0.9018 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.06148, allocations: 266.6 kB / 0.9021 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.0616, allocations: 113.1 kB / 0.9022 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.06172, allocations: 36.47 kB / 0.9022 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.06175, allocations: 47 kB / 0.9023 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 2.174e-06/0.06175, allocations: 0 / 0.9023 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.0004822/0.06223, allocations: 377.8 kB / 0.9026 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.06226, allocations: 55.91 kB / 0.9027 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009731/0.06324, allocations: 1.412 MB / 0.9041 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/0.06329, allocations: 49.7 kB / 0.9041 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.06366, allocations: 0.7558 MB / 0.9049 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.06379, allocations: 234 kB / 0.9051 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.06403, allocations: 283.3 kB / 0.9053 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.06414, allocations: 365.8 kB / 0.9057 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.06437, allocations: 146.8 kB / 0.9058 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/0.06495, allocations: 0.9973 MB / 0.9068 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006925/0.06565, allocations: 0.9579 MB / 0.9077 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.06565, allocations: 8 kB / 0.9078 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.0008274/0.06648, allocations: 0.8612 MB / 0.9086 GB, free: 5.203 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.0665, allocations: 14.19 kB / 0.9086 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.06651, allocations: 16 kB / 0.9086 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.06654, allocations: 28.75 kB / 0.9087 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/0.06708, allocations: 327.5 kB / 0.909 GB, free: 4.828 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.0671, allocations: 35.86 kB / 0.909 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.06759, allocations: 155 kB / 0.9091 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/0.06765, allocations: 59.98 kB / 0.9092 GB, free: 4.582 MB / 0.8698 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.0002328/0.06789, allocations: 212.1 kB / 0.9094 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.06801, allocations: 123.8 kB / 0.9095 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004663/0.06847, allocations: 442.3 kB / 0.9099 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.06848, allocations: 12 kB / 0.91 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.06848, allocations: 0 / 0.91 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002603/0.06874, allocations: 385.2 kB / 0.9103 GB, free: 3.363 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.07008, allocations: 1.331 MB / 0.9116 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.07009, allocations: 8.031 kB / 0.9116 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.07039, allocations: 147.8 kB / 0.9118 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.0704, allocations: 4 kB / 0.9118 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.07042, allocations: 20 kB / 0.9118 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.07043, allocations: 4 kB / 0.9118 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.07043, allocations: 4 kB / 0.9118 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.07097, allocations: 0.6588 MB / 0.9124 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002706/0.07124, allocations: 226.5 kB / 0.9127 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.07134, allocations: 12 kB / 0.9127 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.07167, allocations: 39.95 kB / 0.9127 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.07174, allocations: 52.3 kB / 0.9128 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.07177, allocations: 27.97 kB / 0.9128 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004963/0.07227, allocations: 0.7022 MB / 0.9135 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.07227, allocations: 0 / 0.9135 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007458/0.07302, allocations: 0.5496 MB / 0.914 GB, free: 15.45 MB / 0.8855 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.0002536/0.07327, allocations: 176 kB / 0.9142 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004869/0.07376, allocations: 0.5219 MB / 0.9147 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.907e-05/0.07378, allocations: 20.5 kB / 0.9147 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.07393, allocations: 166.5 kB / 0.9149 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.0757, allocations: 0.9557 MB / 0.9158 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.07849, allocations: 2.869 MB / 0.9186 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.07871, allocations: 340.6 kB / 0.9189 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005705/0.07928, allocations: 298.1 kB / 0.9192 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.08035, allocations: 0.6531 MB / 0.9198 GB, free: 9.355 MB / 0.8855 GB Notification: Performance of SimCode: time 7.62e-07/0.08035, allocations: 0 / 0.9198 GB, free: 9.355 MB / 0.8855 GB Notification: Performance of Templates: time 0.04108/0.1214, allocations: 34.26 MB / 0.9533 GB, free: 7.957 MB / 0.9167 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: 5.936444429215044]