Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008312/0.008312, allocations: 100.6 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00251/0.00251, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 70.83 kB / 0.9509 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3361, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0777/0.4138, allocations: 77.16 MB / 1.163 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02812/0.442, allocations: 18.89 MB / 1.182 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004228/0.4462, allocations: 115.3 kB / 1.182 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003972/0.4503, allocations: 1.254 MB / 1.183 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01071/0.461, allocations: 3.626 MB / 1.187 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005731/0.4668, allocations: 2.092 MB / 1.189 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.009266/0.476, allocations: 6.671 MB / 1.195 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003741/0.4798, allocations: 2.098 MB / 1.197 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005675/0.4855, allocations: 2.371 MB / 1.2 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004199/0.4897, allocations: 1.758 MB / 1.201 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000808/0.4906, allocations: 200 kB / 1.201 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00476/0.4953, allocations: 1.626 MB / 1.203 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.4964, allocations: 0.5255 MB / 1.204 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002555/0.499, allocations: 1.252 MB / 1.205 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008694/0.5077, allocations: 3.727 MB / 1.208 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5077, allocations: 0 / 1.208 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5077, allocations: 0 / 1.208 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001357/0.5079, allocations: 0 / 1.208 GB, free: 5.711 MB / 0.9669 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.006994/0.5149, allocations: 2.72 MB / 1.211 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5149, allocations: 12.03 kB / 1.211 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.5161, allocations: 266 kB / 1.211 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003934/0.52, allocations: 2.015 MB / 1.213 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.5202, allocations: 114.7 kB / 1.213 GB, free: 484 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003181/0.5205, allocations: 143.9 kB / 1.214 GB, free: 340 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/0.5235, allocations: 1.513 MB / 1.215 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.905e-05/0.5235, allocations: 7.938 kB / 1.215 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.5237, allocations: 56 kB / 1.215 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.705e-05/0.5237, allocations: 36 kB / 1.215 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.5261, allocations: 1.13 MB / 1.216 GB, free: 13.51 MB / 0.9825 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.009244/0.5353, allocations: 7.599 MB / 1.224 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009299/0.5363, allocations: 472.5 kB / 1.224 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000596/0.5369, allocations: 330.3 kB / 1.224 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008206/0.5377, allocations: 1.164 MB / 1.226 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.5378, allocations: 43.12 kB / 1.226 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=59): time 1.994e-06/0.5378, allocations: 0 / 1.226 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=59): time 0.002253/0.5401, allocations: 0.9613 MB / 1.227 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.5401, allocations: 59.97 kB / 1.227 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.5426, allocations: 1.787 MB / 1.228 GB, free: 204 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.5427, allocations: 49.7 kB / 1.228 GB, free: 148 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000746/0.5435, allocations: 0.92 MB / 1.229 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.5437, allocations: 220.9 kB / 1.229 GB, free: 15 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.544, allocations: 226.6 kB / 1.23 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5441, allocations: 353.9 kB / 1.23 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006788/0.5448, allocations: 326.4 kB / 1.23 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009183/0.5457, allocations: 0.6899 MB / 1.231 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.5473, allocations: 1.008 MB / 1.232 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.5473, allocations: 8 kB / 1.232 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002337/0.5497, allocations: 1.217 MB / 1.233 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.5497, allocations: 12 kB / 1.233 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.5497, allocations: 12 kB / 1.233 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.5498, allocations: 16 kB / 1.233 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009806/0.5507, allocations: 288.3 kB / 1.234 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.244e-05/0.5508, allocations: 23.88 kB / 1.234 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.5521, allocations: 166.4 kB / 1.234 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.64e-05/0.5522, allocations: 51.98 kB / 1.234 GB, free: 10.31 MB / 0.9981 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.0009906/0.5532, allocations: 445.3 kB / 1.234 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004705/0.5536, allocations: 193.7 kB / 1.234 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.5554, allocations: 0.857 MB / 1.235 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.5554, allocations: 11.94 kB / 1.235 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5554, allocations: 0 / 1.235 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001265/0.5567, allocations: 0.7996 MB / 1.236 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004575/0.5613, allocations: 2.443 MB / 1.238 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.5613, allocations: 8.188 kB / 1.238 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007816/0.5621, allocations: 179.7 kB / 1.239 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.5622, allocations: 4 kB / 1.239 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/0.5622, allocations: 16 kB / 1.239 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/0.5622, allocations: 7.984 kB / 1.239 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.5622, allocations: 8 kB / 1.239 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/0.5648, allocations: 1.332 MB / 1.24 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007474/0.5656, allocations: 366.4 kB / 1.24 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000373/0.5659, allocations: 19.98 kB / 1.24 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.567, allocations: 71.78 kB / 1.24 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.5671, allocations: 52.44 kB / 1.24 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.673e-05/0.5672, allocations: 35.97 kB / 1.24 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001865/0.5691, allocations: 1.239 MB / 1.242 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5691, allocations: 0 / 1.242 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002053/0.5712, allocations: 0.659 MB / 1.242 GB, free: 1.355 MB / 0.9981 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.001391/0.5726, allocations: 0.6044 MB / 1.243 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001778/0.5744, allocations: 0.8203 MB / 1.244 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5744, allocations: 0 / 1.244 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007065/0.5751, allocations: 354.9 kB / 1.244 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005409/0.5805, allocations: 1.208 MB / 1.245 GB, free: 14.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005137/0.5857, allocations: 3.046 MB / 1.248 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.5868, allocations: 1.405 MB / 1.25 GB, free: 9.855 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001534/0.5883, allocations: 381.3 kB / 1.25 GB, free: 9.488 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/0.5887, allocations: 151.3 kB / 1.25 GB, free: 9.34 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/0.5887, allocations: 0 / 1.25 GB, free: 9.34 MB / 1.014 GB Notification: Performance of Templates: time 0.7031/1.292, allocations: 42.56 MB / 1.292 GB, free: 154.4 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches