Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008936/0.0008937, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 177 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003737, allocations: 8 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.662/0.6624, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08026/0.7427, allocations: 75.31 MB / 1.097 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02718/0.7699, allocations: 18.76 MB / 1.116 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003915/0.7739, allocations: 99.31 kB / 1.116 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003758/0.7777, allocations: 1.026 MB / 1.117 GB, free: 364 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.789, allocations: 3.368 MB / 1.12 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005904/0.7949, allocations: 1.901 MB / 1.122 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01181/0.8067, allocations: 8.89 MB / 1.13 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003936/0.8107, allocations: 1.68 MB / 1.132 GB, free: 464 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004851/0.8156, allocations: 1.886 MB / 1.134 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003259/0.8189, allocations: 1.699 MB / 1.136 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006517/0.8195, allocations: 72 kB / 1.136 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/0.8238, allocations: 1.442 MB / 1.137 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008298/0.8247, allocations: 422 kB / 1.138 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002413/0.8271, allocations: 1.113 MB / 1.139 GB, free: 9.797 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004295/0.8314, allocations: 2.798 MB / 1.141 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8314, allocations: 4 kB / 1.141 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8314, allocations: 4 kB / 1.141 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.359e-05/0.8315, allocations: 3.938 kB / 1.141 GB, free: 6.98 MB / 0.8887 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.004569/0.8361, allocations: 2.291 MB / 1.144 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.8362, allocations: 8.031 kB / 1.144 GB, free: 4.617 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007433/0.8369, allocations: 273.9 kB / 1.144 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003192/0.8401, allocations: 1.974 MB / 1.146 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.022e-05/0.8402, allocations: 110.7 kB / 1.146 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.8404, allocations: 140 kB / 1.146 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/0.8433, allocations: 1.544 MB / 1.148 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.8433, allocations: 0 / 1.148 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.8435, allocations: 60 kB / 1.148 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.994e-05/0.8435, allocations: 36 kB / 1.148 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.8461, allocations: 1.173 MB / 1.149 GB, free: 15.18 MB / 0.9044 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.009031/0.8551, allocations: 7.599 MB / 1.156 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.8562, allocations: 0.4888 MB / 1.157 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000683/0.8569, allocations: 346.3 kB / 1.157 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008791/0.8578, allocations: 1.16 MB / 1.158 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.8578, allocations: 43.06 kB / 1.158 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=59): time 4.318e-06/0.8578, allocations: 96 / 1.158 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59): time 0.002446/0.8603, allocations: 1.031 MB / 1.159 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.8604, allocations: 55.97 kB / 1.159 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.8627, allocations: 1.755 MB / 1.161 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.689e-05/0.8628, allocations: 45.7 kB / 1.161 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007386/0.8636, allocations: 0.9239 MB / 1.162 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.8638, allocations: 220.9 kB / 1.162 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.8639, allocations: 97.67 kB / 1.162 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.864, allocations: 357.9 kB / 1.163 GB, free: 144 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007275/0.8648, allocations: 346.5 kB / 1.163 GB, free: 15.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009374/0.8657, allocations: 0.7094 MB / 1.164 GB, free: 14.94 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.8673, allocations: 1.055 MB / 1.165 GB, free: 13.74 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.8674, allocations: 4 kB / 1.165 GB, free: 13.74 MB / 0.92 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00234/0.8697, allocations: 1.257 MB / 1.166 GB, free: 12.48 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.8698, allocations: 8 kB / 1.166 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.8698, allocations: 12.06 kB / 1.166 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/0.8698, allocations: 16 kB / 1.166 GB, free: 12.44 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.8709, allocations: 323.5 kB / 1.166 GB, free: 12.12 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.228e-05/0.8709, allocations: 19.94 kB / 1.166 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.8725, allocations: 249.9 kB / 1.166 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.452e-05/0.8725, allocations: 59.92 kB / 1.166 GB, free: 11.8 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0007757/0.8733, allocations: 433.4 kB / 1.167 GB, free: 11.37 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.8736, allocations: 193.7 kB / 1.167 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.8754, allocations: 0.9152 MB / 1.168 GB, free: 10.26 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.8755, allocations: 7.984 kB / 1.168 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8755, allocations: 0 / 1.168 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001355/0.8768, allocations: 0.8425 MB / 1.169 GB, free: 9.359 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00412/0.881, allocations: 2.482 MB / 1.171 GB, free: 6.785 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.881, allocations: 3.938 kB / 1.171 GB, free: 6.781 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007965/0.8818, allocations: 208 kB / 1.171 GB, free: 6.578 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.8818, allocations: 4 kB / 1.171 GB, free: 6.574 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.8819, allocations: 19.94 kB / 1.171 GB, free: 6.555 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.106e-06/0.8819, allocations: 4 kB / 1.171 GB, free: 6.551 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.8819, allocations: 11.94 kB / 1.171 GB, free: 6.539 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.8843, allocations: 1.402 MB / 1.173 GB, free: 5.098 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008013/0.8852, allocations: 410.2 kB / 1.173 GB, free: 4.676 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.8854, allocations: 12 kB / 1.173 GB, free: 4.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.8865, allocations: 131.7 kB / 1.173 GB, free: 4.535 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.8866, allocations: 44.5 kB / 1.173 GB, free: 4.492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-05/0.8867, allocations: 35.97 kB / 1.173 GB, free: 4.457 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001646/0.8884, allocations: 1.216 MB / 1.175 GB, free: 3.223 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8884, allocations: 0 / 1.175 GB, free: 3.223 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001838/0.8902, allocations: 0.6357 MB / 1.175 GB, free: 2.586 MB / 0.92 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.001176/0.8914, allocations: 0.5898 MB / 1.176 GB, free: 2 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.8932, allocations: 0.8476 MB / 1.177 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.8932, allocations: 256 / 1.177 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007222/0.894, allocations: 383.4 kB / 1.177 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006735/0.9007, allocations: 1.213 MB / 1.178 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005405/0.9061, allocations: 3.853 MB / 1.182 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.9072, allocations: 1.388 MB / 1.183 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.9077, allocations: 163.3 kB / 1.183 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of SimCode: time 7.11e-07/0.9077, allocations: 0 / 1.183 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.056/0.9637, allocations: 34.37 MB / 1.217 GB, free: 8.012 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches