Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.0015/0.0015, allocations: 105.9 kB / 16.27 MB, free: 6.414 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.00142/0.00142, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.149/2.149, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 65.58 kB / 0.8132 GB, free: 33.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2816, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07603/0.3576, allocations: 77.16 MB / 1.026 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02695/0.3846, allocations: 18.88 MB / 1.044 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00456/0.3892, allocations: 107.4 kB / 1.044 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004094/0.3934, allocations: 1.258 MB / 1.045 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.4045, allocations: 3.626 MB / 1.049 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006138/0.4107, allocations: 2.068 MB / 1.051 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01028/0.421, allocations: 6.67 MB / 1.057 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00409/0.4251, allocations: 2.094 MB / 1.06 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005809/0.4309, allocations: 2.314 MB / 1.062 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003452/0.4344, allocations: 1.738 MB / 1.063 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0008449/0.4353, allocations: 200 kB / 1.064 GB, free: 4.367 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005294/0.4406, allocations: 1.622 MB / 1.065 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.4417, allocations: 0.5332 MB / 1.066 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003004/0.4447, allocations: 1.252 MB / 1.067 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007722/0.4525, allocations: 3.692 MB / 1.071 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4525, allocations: 0 / 1.071 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4525, allocations: 0 / 1.071 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001397/0.4527, allocations: 0 / 1.071 GB, free: 13.25 MB / 0.8575 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.0068/0.4595, allocations: 2.709 MB / 1.073 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4596, allocations: 12.03 kB / 1.073 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.4608, allocations: 262 kB / 1.073 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004008/0.4648, allocations: 1.921 MB / 1.075 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.4649, allocations: 106.7 kB / 1.075 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003581/0.4653, allocations: 147.9 kB / 1.076 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003419/0.4687, allocations: 1.52 MB / 1.077 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/0.4688, allocations: 3.984 kB / 1.077 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.469, allocations: 60 kB / 1.077 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/0.469, allocations: 36 kB / 1.077 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.4717, allocations: 1.122 MB / 1.078 GB, free: 5.16 MB / 0.8575 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.4672/0.9389, allocations: 7.643 MB / 1.086 GB, free: 129 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.94, allocations: 483.7 kB / 1.086 GB, free: 129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006514/0.9407, allocations: 336.8 kB / 1.087 GB, free: 128.9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006374/0.9413, allocations: 1.148 MB / 1.088 GB, free: 127.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.9414, allocations: 48.94 kB / 1.088 GB, free: 127.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=59): time 2.766e-06/0.9414, allocations: 0 / 1.088 GB, free: 127.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=59): time 0.00246/0.9438, allocations: 0.9628 MB / 1.089 GB, free: 127.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.9439, allocations: 58.44 kB / 1.089 GB, free: 127.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.9466, allocations: 1.789 MB / 1.09 GB, free: 126.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.9467, allocations: 44.08 kB / 1.09 GB, free: 126.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007711/0.9475, allocations: 0.9269 MB / 1.091 GB, free: 125.9 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.9477, allocations: 222.5 kB / 1.092 GB, free: 125.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003311/0.9481, allocations: 239.3 kB / 1.092 GB, free: 125.6 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.9482, allocations: 344.9 kB / 1.092 GB, free: 125.3 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007614/0.9489, allocations: 328.1 kB / 1.092 GB, free: 125.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009983/0.9499, allocations: 0.6927 MB / 1.093 GB, free: 124.6 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.9516, allocations: 1.012 MB / 1.094 GB, free: 124 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.9516, allocations: 2.844 kB / 1.094 GB, free: 124 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002734/0.9543, allocations: 1.216 MB / 1.095 GB, free: 123.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.9544, allocations: 9.094 kB / 1.095 GB, free: 123.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.9544, allocations: 10.41 kB / 1.095 GB, free: 123.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.855e-05/0.9545, allocations: 15.83 kB / 1.095 GB, free: 123.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.9555, allocations: 293.9 kB / 1.096 GB, free: 123.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.037e-05/0.9556, allocations: 25.47 kB / 1.096 GB, free: 123.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.957, allocations: 164.4 kB / 1.096 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/0.9571, allocations: 50.34 kB / 1.096 GB, free: 123.4 MB / 0.8575 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.0008054/0.958, allocations: 440.1 kB / 1.096 GB, free: 123.1 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004052/0.9584, allocations: 190.8 kB / 1.096 GB, free: 123 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.9603, allocations: 0.8605 MB / 1.097 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.9604, allocations: 12.27 kB / 1.097 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.9604, allocations: 5.438 kB / 1.097 GB, free: 122.6 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00135/0.9617, allocations: 0.793 MB / 1.098 GB, free: 122.2 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/0.9665, allocations: 2.447 MB / 1.101 GB, free: 121.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.9665, allocations: 2.25 kB / 1.101 GB, free: 121.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008159/0.9673, allocations: 181 kB / 1.101 GB, free: 121.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.9673, allocations: 4.188 kB / 1.101 GB, free: 121.1 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.9674, allocations: 16.58 kB / 1.101 GB, free: 121.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.9674, allocations: 6.25 kB / 1.101 GB, free: 121.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.9674, allocations: 6.562 kB / 1.101 GB, free: 121 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.97, allocations: 1.339 MB / 1.102 GB, free: 120.4 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008397/0.9709, allocations: 364.4 kB / 1.102 GB, free: 120.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.9712, allocations: 20.61 kB / 1.102 GB, free: 120.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009697/0.9721, allocations: 69.05 kB / 1.102 GB, free: 120.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.9723, allocations: 51.36 kB / 1.102 GB, free: 120.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.9723, allocations: 37.17 kB / 1.103 GB, free: 120.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001847/0.9742, allocations: 1.24 MB / 1.104 GB, free: 119.6 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9742, allocations: 0 / 1.104 GB, free: 119.6 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002031/0.9762, allocations: 0.6519 MB / 1.104 GB, free: 119.5 MB / 0.8575 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.001195/0.9774, allocations: 0.6148 MB / 1.105 GB, free: 119.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002217/0.9797, allocations: 0.8928 MB / 1.106 GB, free: 119.1 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.9797, allocations: 1.219 kB / 1.106 GB, free: 119.1 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007341/0.9804, allocations: 355 kB / 1.106 GB, free: 119 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005618/0.9861, allocations: 1.208 MB / 1.107 GB, free: 118.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/0.9909, allocations: 3.137 MB / 1.11 GB, free: 117 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00093/0.9918, allocations: 1.391 MB / 1.112 GB, free: 116.2 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005229/0.9924, allocations: 152.4 kB / 1.112 GB, free: 116.2 MB / 0.8575 GB Notification: Performance of SimCode: time 1.132e-06/0.9924, allocations: 0 / 1.112 GB, free: 116.2 MB / 0.8575 GB Notification: Performance of Templates: time 0.0521/1.044, allocations: 34.87 MB / 1.146 GB, free: 99.12 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches