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.001636/0.001636, allocations: 109.1 kB / 16.41 MB, free: 6.488 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.001799/0.001799, allocations: 186.6 kB / 17.35 MB, free: 5.766 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.434/1.434, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.554/2.554, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.89 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7211/0.7225, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07203/0.7946, allocations: 77.16 MB / 1.284 GB, free: 236 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02464/0.8192, allocations: 18.89 MB / 1.302 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00323/0.8225, allocations: 115.3 kB / 1.302 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003135/0.8257, allocations: 1.25 MB / 1.304 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009233/0.8349, allocations: 3.63 MB / 1.307 GB, free: 8.277 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005267/0.8402, allocations: 2.089 MB / 1.309 GB, free: 6.203 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.008634/0.8489, allocations: 6.671 MB / 1.316 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003215/0.8521, allocations: 2.09 MB / 1.318 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005085/0.8572, allocations: 2.382 MB / 1.32 GB, free: 11 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002875/0.8601, allocations: 1.754 MB / 1.322 GB, free: 9.238 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005528/0.8607, allocations: 200 kB / 1.322 GB, free: 9.043 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004116/0.8648, allocations: 1.626 MB / 1.324 GB, free: 7.414 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008102/0.8656, allocations: 0.5371 MB / 1.324 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002142/0.8678, allocations: 1.244 MB / 1.325 GB, free: 5.625 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006676/0.8745, allocations: 3.737 MB / 1.329 GB, free: 1.879 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8745, allocations: 0 / 1.329 GB, free: 1.879 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8745, allocations: 0 / 1.329 GB, free: 1.879 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.523e-05/0.8746, allocations: 0 / 1.329 GB, free: 1.879 MB / 1.045 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.005662/0.8803, allocations: 2.707 MB / 1.332 GB, free: 15.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.8803, allocations: 8.031 kB / 1.332 GB, free: 15.1 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009099/0.8812, allocations: 273.9 kB / 1.332 GB, free: 14.83 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003611/0.8849, allocations: 2.009 MB / 1.334 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.323e-05/0.885, allocations: 110.7 kB / 1.334 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/0.8852, allocations: 147.9 kB / 1.334 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.8878, allocations: 1.516 MB / 1.336 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.8878, allocations: 7.938 kB / 1.336 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.8879, allocations: 52 kB / 1.336 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-05/0.888, allocations: 43.94 kB / 1.336 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.8901, allocations: 1.126 MB / 1.337 GB, free: 9.688 MB / 1.061 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.007496/0.8976, allocations: 7.614 MB / 1.344 GB, free: 1.492 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009095/0.8985, allocations: 477.2 kB / 1.345 GB, free: 1.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/0.8991, allocations: 334.3 kB / 1.345 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007874/0.8999, allocations: 1.152 MB / 1.346 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.9, allocations: 43.12 kB / 1.346 GB, free: 15.23 MB / 1.076 GB Notification: Performance of pre-optimization done (n=59): time 2.454e-06/0.9, allocations: 0 / 1.346 GB, free: 15.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=59): time 0.002068/0.9021, allocations: 0.9612 MB / 1.347 GB, free: 14.26 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.9021, allocations: 63.97 kB / 1.347 GB, free: 14.19 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/0.9042, allocations: 1.783 MB / 1.349 GB, free: 12.37 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.477e-05/0.9043, allocations: 37.7 kB / 1.349 GB, free: 12.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007639/0.9051, allocations: 0.9317 MB / 1.35 GB, free: 11.38 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.9053, allocations: 220.9 kB / 1.35 GB, free: 11.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.9056, allocations: 222.7 kB / 1.35 GB, free: 10.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.9057, allocations: 357.9 kB / 1.351 GB, free: 10.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006806/0.9064, allocations: 326.4 kB / 1.351 GB, free: 10.27 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009137/0.9074, allocations: 0.6821 MB / 1.352 GB, free: 9.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.9089, allocations: 1.016 MB / 1.352 GB, free: 8.281 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.909, allocations: 0 / 1.352 GB, free: 8.281 MB / 1.076 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002253/0.9112, allocations: 1.221 MB / 1.354 GB, free: 7.051 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.9113, allocations: 12 kB / 1.354 GB, free: 7.039 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.9113, allocations: 11.94 kB / 1.354 GB, free: 7.027 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.9113, allocations: 16 kB / 1.354 GB, free: 7.012 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.9123, allocations: 292.2 kB / 1.354 GB, free: 6.727 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.05e-05/0.9124, allocations: 19.94 kB / 1.354 GB, free: 6.707 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.9135, allocations: 162.4 kB / 1.354 GB, free: 6.547 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.354e-05/0.9136, allocations: 51.98 kB / 1.354 GB, free: 6.496 MB / 1.076 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.0006182/0.9142, allocations: 445.3 kB / 1.355 GB, free: 6.051 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/0.9145, allocations: 193.7 kB / 1.355 GB, free: 5.859 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.9162, allocations: 0.8638 MB / 1.356 GB, free: 4.988 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001279/0.9175, allocations: 0.7917 MB / 1.356 GB, free: 4.148 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.9175, allocations: 4 kB / 1.356 GB, free: 4.145 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000527/0.9181, allocations: 350.6 kB / 1.357 GB, free: 3.781 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/0.9183, allocations: 16 kB / 1.357 GB, free: 3.766 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009094/0.9192, allocations: 63.8 kB / 1.357 GB, free: 3.703 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.9193, allocations: 44.5 kB / 1.357 GB, free: 3.656 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001959/0.9213, allocations: 0.8773 MB / 1.358 GB, free: 2.773 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002237/0.9235, allocations: 1.396 MB / 1.359 GB, free: 1.352 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005931/0.9242, allocations: 332.3 kB / 1.359 GB, free: 1.031 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001582/0.9257, allocations: 1.203 MB / 1.361 GB, free: 15.81 MB / 1.092 GB Notification: Performance of Backend: time 3.11e-07/0.9258, allocations: 4 kB / 1.361 GB, free: 15.8 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002981/0.9287, allocations: 1.244 MB / 1.362 GB, free: 14.57 MB / 1.092 GB Notification: Performance of SimCode: time 0.007318/0.9361, allocations: 4.314 MB / 1.366 GB, free: 10.22 MB / 1.092 GB Notification: Performance of Templates: time 0.06622/1.002, allocations: 42.03 MB / 1.407 GB, free: 0.6484 MB / 1.123 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