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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001125/0.001125, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001196/0.001196, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 472.7 MB / 0.7449 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 65.92 kB / 0.9116 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3421, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08087/0.423, allocations: 76.51 MB / 1.142 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03113/0.4542, allocations: 18.76 MB / 1.161 GB, free: 11.14 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005988/0.4603, allocations: 99.38 kB / 1.161 GB, free: 11.04 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0045/0.4648, allocations: 1.08 MB / 1.162 GB, free: 9.957 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01223/0.4771, allocations: 3.402 MB / 1.165 GB, free: 6.543 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005756/0.4829, allocations: 1.919 MB / 1.167 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009873/0.4928, allocations: 6.718 MB / 1.174 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004018/0.4968, allocations: 2.059 MB / 1.176 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006521/0.5034, allocations: 2.334 MB / 1.178 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00347/0.5069, allocations: 1.82 MB / 1.18 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0008426/0.5077, allocations: 200 kB / 1.18 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005125/0.5129, allocations: 1.645 MB / 1.182 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.5142, allocations: 0.5371 MB / 1.182 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003404/0.5176, allocations: 1.252 MB / 1.183 GB, free: 4 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.008568/0.5262, allocations: 3.716 MB / 1.187 GB, free: 280 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5262, allocations: 3.938 kB / 1.187 GB, free: 276 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5262, allocations: 0 / 1.187 GB, free: 276 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001197/0.5264, allocations: 0 / 1.187 GB, free: 276 kB / 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.007151/0.5335, allocations: 2.707 MB / 1.19 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.5336, allocations: 12.02 kB / 1.19 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.5347, allocations: 273.9 kB / 1.19 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004217/0.5389, allocations: 1.968 MB / 1.192 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.5391, allocations: 114.7 kB / 1.192 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003505/0.5394, allocations: 143.9 kB / 1.192 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/0.543, allocations: 1.524 MB / 1.194 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.787e-05/0.5431, allocations: 7.938 kB / 1.194 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.5432, allocations: 56 kB / 1.194 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/0.5433, allocations: 36 kB / 1.194 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.546, allocations: 1.122 MB / 1.195 GB, free: 8.113 MB / 0.9512 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.01121/0.5572, allocations: 7.579 MB / 1.202 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.5584, allocations: 494.6 kB / 1.203 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006504/0.559, allocations: 330.3 kB / 1.203 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/0.5601, allocations: 1.148 MB / 1.204 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.5602, allocations: 43.12 kB / 1.204 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=59): time 2.785e-06/0.5602, allocations: 0 / 1.204 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59): time 0.002692/0.5629, allocations: 0.9651 MB / 1.205 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.563, allocations: 59.97 kB / 1.205 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003323/0.5663, allocations: 1.763 MB / 1.207 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.5665, allocations: 37.7 kB / 1.207 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009211/0.5674, allocations: 0.9278 MB / 1.208 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003022/0.5677, allocations: 213 kB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004627/0.5682, allocations: 234.6 kB / 1.208 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.5684, allocations: 353.9 kB / 1.208 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007561/0.5692, allocations: 326.4 kB / 1.209 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.5703, allocations: 0.6899 MB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.572, allocations: 1.012 MB / 1.21 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.572, allocations: 0 / 1.21 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002554/0.5746, allocations: 1.214 MB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.5746, allocations: 12 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.5746, allocations: 8 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/0.5747, allocations: 16 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.5757, allocations: 295.8 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.169e-05/0.5757, allocations: 27.92 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.5775, allocations: 234.4 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.797e-05/0.5777, allocations: 55.88 kB / 1.212 GB, free: 4.891 MB / 0.9669 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.00086/0.5785, allocations: 445.3 kB / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006353/0.5792, allocations: 193.7 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.5812, allocations: 0.8596 MB / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.5812, allocations: 11.98 kB / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.5812, allocations: 0 / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001379/0.5826, allocations: 0.7956 MB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005292/0.5879, allocations: 2.432 MB / 1.217 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.5879, allocations: 7.938 kB / 1.217 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008178/0.5888, allocations: 175.7 kB / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/0.5888, allocations: 8 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.493e-05/0.5889, allocations: 15.98 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.5889, allocations: 8.094 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5889, allocations: 4 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.5915, allocations: 1.335 MB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009504/0.5925, allocations: 366.5 kB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004745/0.593, allocations: 15.98 kB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/0.5946, allocations: 111.7 kB / 1.219 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.5948, allocations: 52.44 kB / 1.219 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.592e-05/0.5949, allocations: 35.97 kB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002364/0.5972, allocations: 1.22 MB / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.7e-07/0.5972, allocations: 0 / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002232/0.5995, allocations: 0.6395 MB / 1.221 GB, free: 11.95 MB / 0.9825 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.001668/0.6012, allocations: 0.6026 MB / 1.221 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.6034, allocations: 0.8827 MB / 1.222 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.6035, allocations: 4.25 kB / 1.222 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007707/0.6042, allocations: 362.9 kB / 1.223 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006147/0.6104, allocations: 1.198 MB / 1.224 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006726/0.6171, allocations: 3.738 MB / 1.227 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/0.6186, allocations: 1.413 MB / 1.229 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002256/0.6209, allocations: 378.1 kB / 1.229 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005929/0.6215, allocations: 143.4 kB / 1.229 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of SimCode: time 1.232e-06/0.6215, allocations: 0 / 1.229 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of Templates: time 0.5892/1.211, allocations: 40.75 MB / 1.269 GB, free: 169 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches