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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001119/0.001119, allocations: 102.9 kB / 16.27 MB, free: 5.996 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.001107/0.001107, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.288/1.288, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.519/2.519, allocations: 469.4 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.5 kB / 0.9088 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3089, allocations: 159.1 MB / 1.064 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.5893/0.8983, allocations: 77.16 MB / 1.14 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02789/0.9262, allocations: 18.89 MB / 1.158 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004488/0.9307, allocations: 113.9 kB / 1.158 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004055/0.9348, allocations: 1.248 MB / 1.159 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0111/0.946, allocations: 3.629 MB / 1.163 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005911/0.9519, allocations: 2.074 MB / 1.165 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.009807/0.9617, allocations: 6.668 MB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003579/0.9653, allocations: 2.095 MB / 1.173 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005723/0.9711, allocations: 2.301 MB / 1.176 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003332/0.9745, allocations: 1.75 MB / 1.177 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000521/0.975, allocations: 199.2 kB / 1.178 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004615/0.9796, allocations: 1.61 MB / 1.179 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006026/0.9802, allocations: 0.5357 MB / 1.18 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002004/0.9822, allocations: 1.255 MB / 1.181 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00631/0.9886, allocations: 3.693 MB / 1.185 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.9886, allocations: 1.219 kB / 1.185 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9886, allocations: 0 / 1.185 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.612e-05/0.9887, allocations: 0 / 1.185 GB, free: 7.918 MB / 0.9044 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.005282/0.994, allocations: 2.72 MB / 1.187 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.994, allocations: 9.438 kB / 1.187 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007843/0.9948, allocations: 263.1 kB / 1.187 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/0.998, allocations: 1.912 MB / 1.189 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.979e-05/0.9981, allocations: 106.2 kB / 1.189 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.9983, allocations: 138.7 kB / 1.19 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/1.001, allocations: 1.523 MB / 1.191 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/1.001, allocations: 4.969 kB / 1.191 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/1.001, allocations: 58 kB / 1.191 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/1.001, allocations: 40.38 kB / 1.191 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/1.003, allocations: 1.121 MB / 1.192 GB, free: 2.637 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.008141/1.011, allocations: 7.658 MB / 1.2 GB, free: 11.76 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/1.012, allocations: 483.4 kB / 1.2 GB, free: 11.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006033/1.013, allocations: 330.1 kB / 1.2 GB, free: 11.36 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007953/1.014, allocations: 1.156 MB / 1.202 GB, free: 10.01 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/1.014, allocations: 40.59 kB / 1.202 GB, free: 9.965 MB / 0.92 GB Notification: Performance of pre-optimization done (n=59): time 2.585e-06/1.014, allocations: 0 / 1.202 GB, free: 9.965 MB / 0.92 GB Notification: Performance of matching and sorting (n=59): time 0.002227/1.016, allocations: 0.9646 MB / 1.203 GB, free: 9.492 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/1.016, allocations: 57.03 kB / 1.203 GB, free: 9.43 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/1.018, allocations: 1.786 MB / 1.204 GB, free: 8.438 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.72e-05/1.018, allocations: 41.39 kB / 1.204 GB, free: 8.398 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007065/1.019, allocations: 0.932 MB / 1.205 GB, free: 7.574 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/1.019, allocations: 219.3 kB / 1.206 GB, free: 7.383 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/1.019, allocations: 231.5 kB / 1.206 GB, free: 7.246 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.02, allocations: 351.8 kB / 1.206 GB, free: 6.906 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006848/1.02, allocations: 332.8 kB / 1.206 GB, free: 6.602 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009241/1.021, allocations: 0.6899 MB / 1.207 GB, free: 5.758 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/1.023, allocations: 1.012 MB / 1.208 GB, free: 4.609 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.023, allocations: 0 / 1.208 GB, free: 4.609 MB / 0.92 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002234/1.025, allocations: 1.214 MB / 1.209 GB, free: 3.387 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/1.025, allocations: 12 kB / 1.209 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.025, allocations: 8 kB / 1.209 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/1.025, allocations: 16 kB / 1.209 GB, free: 3.352 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/1.026, allocations: 288.1 kB / 1.21 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.653e-05/1.026, allocations: 23.92 kB / 1.21 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/1.028, allocations: 174.4 kB / 1.21 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.173e-05/1.028, allocations: 51.98 kB / 1.21 GB, free: 2.824 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.000736/1.028, allocations: 441.3 kB / 1.21 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003687/1.029, allocations: 193.7 kB / 1.21 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/1.031, allocations: 0.8721 MB / 1.211 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/1.031, allocations: 12 kB / 1.211 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.031, allocations: 0 / 1.211 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001321/1.032, allocations: 0.7956 MB / 1.212 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004348/1.036, allocations: 2.451 MB / 1.214 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.036, allocations: 0 / 1.214 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007919/1.037, allocations: 187.7 kB / 1.215 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-06/1.037, allocations: 4 kB / 1.215 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/1.037, allocations: 20.22 kB / 1.215 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/1.037, allocations: 4 kB / 1.215 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.037, allocations: 4 kB / 1.215 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/1.04, allocations: 1.331 MB / 1.216 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008036/1.041, allocations: 370.4 kB / 1.216 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003968/1.041, allocations: 12 kB / 1.216 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.042, allocations: 67.91 kB / 1.216 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/1.042, allocations: 48.44 kB / 1.216 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.034e-05/1.042, allocations: 43.91 kB / 1.216 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001859/1.044, allocations: 1.239 MB / 1.218 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.5e-07/1.044, allocations: 0 / 1.218 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002123/1.046, allocations: 0.6474 MB / 1.218 GB, free: 9.863 MB / 0.9356 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.001267/1.048, allocations: 0.6156 MB / 1.219 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002031/1.05, allocations: 0.8937 MB / 1.22 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.05, allocations: 0 / 1.22 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007256/1.05, allocations: 356.4 kB / 1.22 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005955/1.056, allocations: 1.207 MB / 1.221 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005536/1.062, allocations: 3.133 MB / 1.224 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/1.063, allocations: 1.396 MB / 1.226 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/1.064, allocations: 155.3 kB / 1.226 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of SimCode: time 1.203e-06/1.064, allocations: 0 / 1.226 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.04949/1.113, allocations: 34.88 MB / 1.26 GB, free: 15.48 MB / 0.9825 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