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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001282/0.001282, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001377/0.001377, allocations: 191 kB / 17.29 MB, free: 5.516 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 66.03 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3013, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07392/0.3753, allocations: 77.16 MB / 1.026 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02762/0.403, allocations: 18.88 MB / 1.045 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005031/0.408, allocations: 111.3 kB / 1.045 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003939/0.4121, allocations: 1.246 MB / 1.046 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01207/0.4242, allocations: 3.634 MB / 1.05 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006173/0.4304, allocations: 2.095 MB / 1.052 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.009836/0.4402, allocations: 6.676 MB / 1.058 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003443/0.4437, allocations: 2.098 MB / 1.06 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00589/0.4496, allocations: 2.322 MB / 1.063 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0037/0.4533, allocations: 1.746 MB / 1.064 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000606/0.454, allocations: 200 kB / 1.065 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004688/0.4587, allocations: 1.622 MB / 1.066 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007732/0.4595, allocations: 0.5409 MB / 1.067 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002227/0.4617, allocations: 1.248 MB / 1.068 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006734/0.4684, allocations: 3.727 MB / 1.072 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.4685, allocations: 0 / 1.072 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4685, allocations: 0 / 1.072 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.99e-05/0.4686, allocations: 0 / 1.072 GB, free: 12.34 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.005638/0.4742, allocations: 2.707 MB / 1.074 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.4743, allocations: 12.03 kB / 1.074 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007739/0.4751, allocations: 266 kB / 1.074 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/0.4788, allocations: 2.019 MB / 1.076 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.082e-05/0.479, allocations: 106.7 kB / 1.077 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.4792, allocations: 147.9 kB / 1.077 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.4821, allocations: 1.516 MB / 1.078 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.4821, allocations: 11.92 kB / 1.078 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.4823, allocations: 63.94 kB / 1.078 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-05/0.4823, allocations: 40 kB / 1.078 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.4845, allocations: 1.122 MB / 1.079 GB, free: 4.141 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.4866/0.9712, allocations: 7.591 MB / 1.087 GB, free: 128.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009985/0.9722, allocations: 479.7 kB / 1.087 GB, free: 128.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.9728, allocations: 335.4 kB / 1.088 GB, free: 128.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006011/0.9734, allocations: 1.147 MB / 1.089 GB, free: 126.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.9735, allocations: 45.61 kB / 1.089 GB, free: 126.9 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=59): time 3.086e-06/0.9735, allocations: 0 / 1.089 GB, free: 126.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=59): time 0.002393/0.9759, allocations: 0.9638 MB / 1.09 GB, free: 126.6 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.9759, allocations: 59.86 kB / 1.09 GB, free: 126.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002839/0.9788, allocations: 1.782 MB / 1.091 GB, free: 125.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.9789, allocations: 44.92 kB / 1.091 GB, free: 125.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/0.9796, allocations: 0.9338 MB / 1.092 GB, free: 125.1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/0.9799, allocations: 212.5 kB / 1.093 GB, free: 125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/0.9802, allocations: 232.4 kB / 1.093 GB, free: 124.9 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.9803, allocations: 349 kB / 1.093 GB, free: 124.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007819/0.9811, allocations: 329.6 kB / 1.093 GB, free: 124.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009981/0.9821, allocations: 0.6898 MB / 1.094 GB, free: 123.9 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.9838, allocations: 1.013 MB / 1.095 GB, free: 123.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.9838, allocations: 3.406 kB / 1.095 GB, free: 123.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002634/0.9864, allocations: 1.215 MB / 1.096 GB, free: 122.8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.9865, allocations: 11.31 kB / 1.096 GB, free: 122.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.9865, allocations: 9.125 kB / 1.096 GB, free: 122.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.863e-05/0.9866, allocations: 16.19 kB / 1.096 GB, free: 122.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.9876, allocations: 292 kB / 1.097 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.694e-05/0.9877, allocations: 21.88 kB / 1.097 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.989, allocations: 165 kB / 1.097 GB, free: 122.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.942e-05/0.9891, allocations: 51.55 kB / 1.097 GB, free: 122.6 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.0007277/0.9899, allocations: 443.4 kB / 1.097 GB, free: 122.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/0.9903, allocations: 195.2 kB / 1.097 GB, free: 122.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.9922, allocations: 0.8651 MB / 1.098 GB, free: 121.9 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.9922, allocations: 8.859 kB / 1.098 GB, free: 121.9 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.9922, allocations: 0 / 1.098 GB, free: 121.9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00137/0.9936, allocations: 0.8009 MB / 1.099 GB, free: 121.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00477/0.9984, allocations: 2.443 MB / 1.101 GB, free: 120.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.9984, allocations: 2.219 kB / 1.101 GB, free: 120.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008017/0.9992, allocations: 191.1 kB / 1.102 GB, free: 120.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.9993, allocations: 4.594 kB / 1.102 GB, free: 120.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.9993, allocations: 16.25 kB / 1.102 GB, free: 120.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.9993, allocations: 5.422 kB / 1.102 GB, free: 120.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.9993, allocations: 2.344 kB / 1.102 GB, free: 120.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/1.002, allocations: 1.346 MB / 1.103 GB, free: 119.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009207/1.003, allocations: 360.3 kB / 1.103 GB, free: 119.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/1.003, allocations: 16.98 kB / 1.103 GB, free: 119.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/1.004, allocations: 73.28 kB / 1.103 GB, free: 119.4 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/1.004, allocations: 51.72 kB / 1.103 GB, free: 119.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-05/1.004, allocations: 34.39 kB / 1.104 GB, free: 119.4 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001962/1.006, allocations: 1.24 MB / 1.105 GB, free: 118.9 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/1.006, allocations: 0 / 1.105 GB, free: 118.9 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001928/1.008, allocations: 0.6501 MB / 1.105 GB, free: 118.8 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.001152/1.01, allocations: 0.6132 MB / 1.106 GB, free: 118.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001752/1.011, allocations: 0.8163 MB / 1.107 GB, free: 118.4 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.011, allocations: 3.062 kB / 1.107 GB, free: 118.4 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007017/1.012, allocations: 355.1 kB / 1.107 GB, free: 118.3 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00486/1.017, allocations: 1.196 MB / 1.108 GB, free: 118 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004899/1.022, allocations: 3.065 MB / 1.111 GB, free: 116.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.023, allocations: 1.406 MB / 1.113 GB, free: 115.6 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001616/1.024, allocations: 376.5 kB / 1.113 GB, free: 115.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/1.025, allocations: 154.8 kB / 1.113 GB, free: 115.5 MB / 0.8575 GB Notification: Performance of SimCode: time 7.82e-07/1.025, allocations: 0 / 1.113 GB, free: 115.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.06066/1.086, allocations: 41.64 MB / 1.154 GB, free: 91.39 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 -s cvode -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