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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001085/0.001085, allocations: 100.1 kB / 15.88 MB, free: 12 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.001138/0.001138, allocations: 200.1 kB / 16.79 MB, free: 6.828 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.331/1.331, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.635/2.635, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001545, allocations: 70.95 kB / 0.899 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3286, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07681/0.4055, allocations: 76.69 MB / 1.128 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0276/0.4331, allocations: 18.96 MB / 1.146 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005113/0.4383, allocations: 99.38 kB / 1.146 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004312/0.4427, allocations: 1.033 MB / 1.147 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01081/0.4535, allocations: 3.371 MB / 1.151 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005632/0.4592, allocations: 1.902 MB / 1.152 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01153/0.4707, allocations: 8.882 MB / 1.161 GB, free: 9.023 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003265/0.4741, allocations: 1.733 MB / 1.163 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004918/0.479, allocations: 1.936 MB / 1.165 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003557/0.4826, allocations: 1.765 MB / 1.166 GB, free: 3.52 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006036/0.4832, allocations: 96 kB / 1.166 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004709/0.4879, allocations: 1.465 MB / 1.168 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009184/0.4889, allocations: 454 kB / 1.168 GB, free: 1.512 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003058/0.492, allocations: 1.139 MB / 1.169 GB, free: 376 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005079/0.4971, allocations: 2.849 MB / 1.172 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4971, allocations: 3.938 kB / 1.172 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4971, allocations: 0 / 1.172 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001223/0.4972, allocations: 0 / 1.172 GB, free: 13.51 MB / 0.9356 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.006836/0.5041, allocations: 2.715 MB / 1.175 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.5041, allocations: 15.97 kB / 1.175 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008734/0.505, allocations: 266 kB / 1.175 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003554/0.5086, allocations: 1.977 MB / 1.177 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-05/0.5087, allocations: 106.7 kB / 1.177 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.5089, allocations: 148 kB / 1.177 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.5117, allocations: 1.516 MB / 1.179 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.5117, allocations: 11.84 kB / 1.179 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.5119, allocations: 56 kB / 1.179 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/0.5119, allocations: 39.98 kB / 1.179 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.5141, allocations: 1.126 MB / 1.18 GB, free: 5.34 MB / 0.9356 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.01013/0.5243, allocations: 7.579 MB / 1.187 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.5253, allocations: 473.1 kB / 1.188 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006358/0.526, allocations: 334.3 kB / 1.188 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009399/0.5269, allocations: 1.152 MB / 1.189 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.527, allocations: 51.06 kB / 1.189 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=59): time 2.564e-06/0.527, allocations: 0 / 1.189 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59): time 0.002407/0.5294, allocations: 0.9612 MB / 1.19 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.5295, allocations: 55.97 kB / 1.19 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002839/0.5323, allocations: 1.756 MB / 1.192 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.5324, allocations: 41.7 kB / 1.192 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008872/0.5333, allocations: 0.9278 MB / 1.193 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.5336, allocations: 216.9 kB / 1.193 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/0.534, allocations: 230.7 kB / 1.193 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.5341, allocations: 353.9 kB / 1.194 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007309/0.5349, allocations: 330.3 kB / 1.194 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.5359, allocations: 0.6899 MB / 1.195 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.5377, allocations: 1.008 MB / 1.196 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.5377, allocations: 7.938 kB / 1.196 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002573/0.5403, allocations: 1.218 MB / 1.197 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.5403, allocations: 8 kB / 1.197 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.5403, allocations: 8 kB / 1.197 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.128e-05/0.5404, allocations: 16 kB / 1.197 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.5414, allocations: 291.8 kB / 1.197 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-05/0.5415, allocations: 27.91 kB / 1.197 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.5432, allocations: 234.4 kB / 1.198 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.5433, allocations: 51.98 kB / 1.198 GB, free: 2.137 MB / 0.9512 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.0009114/0.5443, allocations: 445.3 kB / 1.198 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005835/0.5448, allocations: 189.7 kB / 1.198 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/0.5468, allocations: 0.8677 MB / 1.199 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.5469, allocations: 8 kB / 1.199 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.5469, allocations: 3.984 kB / 1.199 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001341/0.5482, allocations: 0.8034 MB / 1.2 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004805/0.553, allocations: 2.432 MB / 1.202 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.5531, allocations: 7.938 kB / 1.202 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007848/0.5539, allocations: 175.8 kB / 1.202 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.5539, allocations: 11.94 kB / 1.202 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.187e-05/0.5539, allocations: 16 kB / 1.202 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/0.5539, allocations: 11.97 kB / 1.202 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.554, allocations: 3.984 kB / 1.202 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.5565, allocations: 1.332 MB / 1.204 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007905/0.5573, allocations: 366.5 kB / 1.204 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003897/0.5577, allocations: 12 kB / 1.204 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.5591, allocations: 119.7 kB / 1.204 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.5592, allocations: 44.5 kB / 1.204 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.79e-05/0.5593, allocations: 39.97 kB / 1.204 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002293/0.5616, allocations: 1.216 MB / 1.205 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5616, allocations: 0 / 1.205 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002305/0.5639, allocations: 0.6395 MB / 1.206 GB, free: 9.184 MB / 0.9669 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.001396/0.5653, allocations: 0.594 MB / 1.207 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001942/0.5673, allocations: 0.8086 MB / 1.207 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.5673, allocations: 4.188 kB / 1.207 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007903/0.5681, allocations: 358.9 kB / 1.208 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006115/0.5742, allocations: 1.205 MB / 1.209 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00594/0.5802, allocations: 3.767 MB / 1.213 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.5814, allocations: 1.392 MB / 1.214 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/0.5819, allocations: 159.3 kB / 1.214 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of SimCode: time 6.71e-07/0.5819, allocations: 0 / 1.214 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of Templates: time 0.5582/1.14, allocations: 34.65 MB / 1.248 GB, free: 182 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches