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.0008492/0.0008491, allocations: 99.42 kB / 16.02 MB, free: 76 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.0009952/0.0009952, allocations: 187 kB / 16.92 MB, free: 6.75 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.684/2.684, allocations: 462.6 MB / 0.7371 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003633, allocations: 14.64 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3412, allocations: 159.6 MB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07517/0.4164, allocations: 75.31 MB / 1.133 GB, free: 9.445 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02718/0.4436, allocations: 18.76 MB / 1.151 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004057/0.4477, allocations: 99.31 kB / 1.151 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003467/0.4512, allocations: 1.029 MB / 1.152 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.4614, allocations: 3.371 MB / 1.156 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005273/0.4667, allocations: 1.908 MB / 1.157 GB, free: 248 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01043/0.4771, allocations: 8.878 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002868/0.48, allocations: 1.683 MB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.4842, allocations: 1.897 MB / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.4873, allocations: 1.695 MB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003468/0.4876, allocations: 76 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003733/0.4914, allocations: 1.438 MB / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004922/0.4919, allocations: 414 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.4935, allocations: 1.121 MB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003612/0.4971, allocations: 2.802 MB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.4971, allocations: 0 / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4971, allocations: 0 / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.529e-05/0.4972, allocations: 0 / 1.177 GB, free: 12.14 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.003999/0.5012, allocations: 2.291 MB / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.5013, allocations: 15.97 kB / 1.179 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005921/0.5019, allocations: 270 kB / 1.179 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002883/0.5047, allocations: 1.982 MB / 1.181 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-05/0.5048, allocations: 106.7 kB / 1.181 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.505, allocations: 140 kB / 1.182 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.5076, allocations: 1.544 MB / 1.183 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.5077, allocations: 0 / 1.183 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.5078, allocations: 60 kB / 1.183 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.756e-05/0.5079, allocations: 43.98 kB / 1.183 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.51, allocations: 1.165 MB / 1.184 GB, free: 4.332 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.007891/0.5179, allocations: 7.599 MB / 1.192 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009645/0.5189, allocations: 493.1 kB / 1.192 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006551/0.5196, allocations: 358.3 kB / 1.193 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007964/0.5204, allocations: 1.152 MB / 1.194 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.5204, allocations: 43.12 kB / 1.194 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=59): time 5.13e-06/0.5205, allocations: 96 / 1.194 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59): time 0.002236/0.5227, allocations: 1.031 MB / 1.195 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.5227, allocations: 59.97 kB / 1.195 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.525, allocations: 1.759 MB / 1.197 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.653e-05/0.5251, allocations: 37.7 kB / 1.197 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000712/0.5258, allocations: 0.9356 MB / 1.198 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.526, allocations: 216.9 kB / 1.198 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.5261, allocations: 97.66 kB / 1.198 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5262, allocations: 345.9 kB / 1.198 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007224/0.527, allocations: 354.4 kB / 1.198 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009376/0.5279, allocations: 0.7172 MB / 1.199 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.5296, allocations: 1.048 MB / 1.2 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.5296, allocations: 4 kB / 1.2 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002318/0.5319, allocations: 1.256 MB / 1.201 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.532, allocations: 12 kB / 1.201 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.532, allocations: 8.875 kB / 1.201 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.314e-05/0.532, allocations: 16 kB / 1.201 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.5331, allocations: 319.5 kB / 1.202 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.74e-05/0.5331, allocations: 27.86 kB / 1.202 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.5346, allocations: 250.4 kB / 1.202 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.593e-05/0.5347, allocations: 48 kB / 1.202 GB, free: 0.957 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.00076/0.5355, allocations: 441.4 kB / 1.202 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/0.5358, allocations: 193.7 kB / 1.203 GB, free: 332 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.5377, allocations: 0.905 MB / 1.204 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.5378, allocations: 15.98 kB / 1.204 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5378, allocations: 0 / 1.204 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001374/0.5392, allocations: 0.8386 MB / 1.204 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/0.5436, allocations: 2.482 MB / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.5436, allocations: 3.938 kB / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008094/0.5444, allocations: 208 kB / 1.207 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.5444, allocations: 4 kB / 1.207 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.5445, allocations: 23.98 kB / 1.207 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/0.5445, allocations: 4 kB / 1.207 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5445, allocations: 7.938 kB / 1.207 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.547, allocations: 1.398 MB / 1.208 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008239/0.5478, allocations: 402.3 kB / 1.209 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003281/0.5482, allocations: 23.98 kB / 1.209 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.5494, allocations: 126.6 kB / 1.209 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.5496, allocations: 56.48 kB / 1.209 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.989e-05/0.5497, allocations: 31.98 kB / 1.209 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001875/0.5515, allocations: 1.216 MB / 1.21 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5516, allocations: 0 / 1.21 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001928/0.5535, allocations: 0.6434 MB / 1.211 GB, free: 7.719 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.001368/0.5549, allocations: 0.5902 MB / 1.211 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001923/0.5568, allocations: 0.8547 MB / 1.212 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.5568, allocations: 1 kB / 1.212 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007694/0.5576, allocations: 379.2 kB / 1.213 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007169/0.5648, allocations: 1.216 MB / 1.214 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007002/0.5718, allocations: 3.849 MB / 1.218 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.5734, allocations: 1.384 MB / 1.219 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006195/0.574, allocations: 163.3 kB / 1.219 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of SimCode: time 1.804e-06/0.574, allocations: 0 / 1.219 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of Templates: time 0.608/1.182, allocations: 34.37 MB / 1.253 GB, free: 178.1 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