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.001535/0.001535, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00187/0.00187, allocations: 194.4 kB / 16.14 MB, free: 6.645 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.919/2.919, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 68.45 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2928, allocations: 157.4 MB / 1.052 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07204/0.3648, allocations: 76.68 MB / 1.127 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02728/0.3922, allocations: 18.98 MB / 1.146 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004066/0.3963, allocations: 99.38 kB / 1.146 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004094/0.4004, allocations: 1.033 MB / 1.147 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009841/0.4103, allocations: 3.363 MB / 1.15 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006325/0.4166, allocations: 1.91 MB / 1.152 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01539/0.432, allocations: 8.882 MB / 1.16 GB, free: 9.609 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004804/0.4369, allocations: 1.729 MB / 1.162 GB, free: 7.832 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007034/0.444, allocations: 1.94 MB / 1.164 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004822/0.4488, allocations: 1.769 MB / 1.166 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0009164/0.4498, allocations: 96 kB / 1.166 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005253/0.4551, allocations: 1.461 MB / 1.167 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.4563, allocations: 458 kB / 1.168 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003039/0.4594, allocations: 1.135 MB / 1.169 GB, free: 0.957 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007644/0.467, allocations: 3.645 MB / 1.172 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4671, allocations: 0 / 1.172 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4671, allocations: 4 kB / 1.172 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.000127/0.4672, allocations: 0 / 1.172 GB, free: 13.3 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.006447/0.4737, allocations: 2.707 MB / 1.175 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4738, allocations: 11.97 kB / 1.175 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.4748, allocations: 266 kB / 1.175 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003893/0.4787, allocations: 1.983 MB / 1.177 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.08e-05/0.4788, allocations: 102.7 kB / 1.177 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.4791, allocations: 140 kB / 1.177 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002958/0.482, allocations: 1.52 MB / 1.179 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/0.4821, allocations: 7.844 kB / 1.179 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.4822, allocations: 60 kB / 1.179 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/0.4823, allocations: 36 kB / 1.179 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.4846, allocations: 1.122 MB / 1.18 GB, free: 5.152 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.009566/0.4942, allocations: 7.58 MB / 1.188 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.4952, allocations: 482.1 kB / 1.188 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006339/0.4959, allocations: 326.3 kB / 1.188 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008952/0.4968, allocations: 1.156 MB / 1.189 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.4969, allocations: 39.12 kB / 1.189 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=59): time 3.356e-06/0.4969, allocations: 0 / 1.189 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59): time 0.002412/0.4993, allocations: 0.9729 MB / 1.19 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.4993, allocations: 59.97 kB / 1.19 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002979/0.5023, allocations: 1.752 MB / 1.192 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.5024, allocations: 45.7 kB / 1.192 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009309/0.5034, allocations: 0.9317 MB / 1.193 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/0.5036, allocations: 216.9 kB / 1.193 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/0.504, allocations: 222.7 kB / 1.194 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.5042, allocations: 353.9 kB / 1.194 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007117/0.5049, allocations: 334.4 kB / 1.194 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.5059, allocations: 0.6821 MB / 1.195 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.5076, allocations: 1.016 MB / 1.196 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.5076, allocations: 7.938 kB / 1.196 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002509/0.5101, allocations: 1.213 MB / 1.197 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.5102, allocations: 10.19 kB / 1.197 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.5102, allocations: 12.88 kB / 1.197 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/0.5102, allocations: 19.98 kB / 1.197 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.5113, allocations: 287.6 kB / 1.197 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-05/0.5113, allocations: 19.94 kB / 1.197 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.5129, allocations: 238.4 kB / 1.198 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.513, allocations: 55.98 kB / 1.198 GB, free: 1.941 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.0007721/0.5138, allocations: 445.8 kB / 1.198 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004739/0.5143, allocations: 193.7 kB / 1.198 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.5162, allocations: 0.8572 MB / 1.199 GB, free: 452 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.5162, allocations: 8 kB / 1.199 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5162, allocations: 4 kB / 1.199 GB, free: 440 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001324/0.5175, allocations: 0.7956 MB / 1.2 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/0.5221, allocations: 2.431 MB / 1.202 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.5221, allocations: 3.938 kB / 1.202 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007995/0.5229, allocations: 188 kB / 1.202 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/0.5229, allocations: 4 kB / 1.202 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/0.523, allocations: 16 kB / 1.202 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.523, allocations: 4 kB / 1.202 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.523, allocations: 4 kB / 1.202 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/0.5256, allocations: 1.331 MB / 1.204 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007958/0.5264, allocations: 366.5 kB / 1.204 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003706/0.5268, allocations: 16 kB / 1.204 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.5281, allocations: 119.6 kB / 1.204 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.5282, allocations: 52.42 kB / 1.204 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.06e-05/0.5283, allocations: 35.98 kB / 1.204 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001921/0.5302, allocations: 1.22 MB / 1.206 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5302, allocations: 0 / 1.206 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001892/0.5321, allocations: 0.6395 MB / 1.206 GB, free: 8.996 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.0012/0.5333, allocations: 0.5904 MB / 1.207 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001778/0.5351, allocations: 0.8156 MB / 1.208 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5351, allocations: 0 / 1.208 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007371/0.5359, allocations: 356.4 kB / 1.208 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006343/0.5422, allocations: 1.198 MB / 1.209 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005462/0.5477, allocations: 3.735 MB / 1.213 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009464/0.5487, allocations: 1.409 MB / 1.214 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00176/0.5505, allocations: 383.7 kB / 1.214 GB, free: 464 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.5508, allocations: 151.3 kB / 1.215 GB, free: 312 kB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.5508, allocations: 0 / 1.215 GB, free: 312 kB / 0.9669 GB Notification: Performance of Templates: time 0.6244/1.175, allocations: 39.85 MB / 1.254 GB, free: 170.7 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