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.001625/0.001625, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.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.447/2.447, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 71.88 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6682/0.6694, allocations: 140.4 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07618/0.7457, allocations: 77.16 MB / 1.025 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0307/0.7765, allocations: 18.88 MB / 1.043 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005034/0.7815, allocations: 111.3 kB / 1.043 GB, free: 1.371 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004399/0.786, allocations: 1.238 MB / 1.045 GB, free: 128 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.7982, allocations: 3.626 MB / 1.048 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.006413/0.8047, allocations: 2.074 MB / 1.05 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01312/0.8178, allocations: 6.681 MB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004251/0.8221, allocations: 2.092 MB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006591/0.8287, allocations: 2.299 MB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003312/0.832, allocations: 1.75 MB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004148/0.8324, allocations: 200 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004126/0.8366, allocations: 1.614 MB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005858/0.8372, allocations: 0.5371 MB / 1.065 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001549/0.8387, allocations: 1.256 MB / 1.066 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0051/0.8438, allocations: 3.696 MB / 1.07 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.8439, allocations: 0 / 1.07 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8439, allocations: 4 kB / 1.07 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.672e-05/0.8439, allocations: 0 / 1.07 GB, free: 6.215 MB / 0.8262 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.005028/0.8489, allocations: 2.707 MB / 1.073 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.541e-05/0.849, allocations: 16.02 kB / 1.073 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000792/0.8498, allocations: 258 kB / 1.073 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003327/0.8532, allocations: 1.914 MB / 1.075 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.35e-05/0.8533, allocations: 102.7 kB / 1.075 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.8535, allocations: 143.9 kB / 1.075 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002879/0.8563, allocations: 1.52 MB / 1.076 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/0.8564, allocations: 0 / 1.076 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.8565, allocations: 60 kB / 1.076 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.261e-05/0.8566, allocations: 39.94 kB / 1.077 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.8588, allocations: 1.122 MB / 1.078 GB, free: 14.14 MB / 0.8419 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.008829/0.8676, allocations: 7.665 MB / 1.085 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009781/0.8686, allocations: 472.6 kB / 1.086 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006103/0.8693, allocations: 330.3 kB / 1.086 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008738/0.8701, allocations: 1.16 MB / 1.087 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.8702, allocations: 47.06 kB / 1.087 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=59): time 2.595e-06/0.8702, allocations: 0 / 1.087 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59): time 0.002342/0.8725, allocations: 0.9612 MB / 1.088 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.8726, allocations: 59.97 kB / 1.088 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/0.8749, allocations: 1.787 MB / 1.09 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.875, allocations: 41.7 kB / 1.09 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007324/0.8757, allocations: 0.9317 MB / 1.091 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.876, allocations: 220.9 kB / 1.091 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.8763, allocations: 230.7 kB / 1.091 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.8764, allocations: 353.9 kB / 1.091 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006899/0.8771, allocations: 326.4 kB / 1.092 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009699/0.8781, allocations: 0.6899 MB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.8798, allocations: 1.012 MB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/0.8798, allocations: 4 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002497/0.8823, allocations: 1.21 MB / 1.095 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.8823, allocations: 14.03 kB / 1.095 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.8824, allocations: 8 kB / 1.095 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.8824, allocations: 16 kB / 1.095 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.8834, allocations: 288.2 kB / 1.095 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.662e-05/0.8835, allocations: 27.86 kB / 1.095 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.8848, allocations: 166.4 kB / 1.095 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/0.8849, allocations: 48 kB / 1.095 GB, free: 10.88 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.000788/0.8857, allocations: 449.3 kB / 1.096 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000407/0.8861, allocations: 193.6 kB / 1.096 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.888, allocations: 0.864 MB / 1.097 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.888, allocations: 11.98 kB / 1.097 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.888, allocations: 0 / 1.097 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001372/0.8894, allocations: 0.7956 MB / 1.097 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004354/0.8937, allocations: 2.447 MB / 1.1 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.8938, allocations: 7.922 kB / 1.1 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007558/0.8945, allocations: 183.7 kB / 1.1 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/0.8945, allocations: 8.234 kB / 1.1 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/0.8946, allocations: 20 kB / 1.1 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.8946, allocations: 4 kB / 1.1 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.8946, allocations: 4 kB / 1.1 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.8971, allocations: 1.331 MB / 1.101 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006701/0.8977, allocations: 370.4 kB / 1.102 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.898, allocations: 16 kB / 1.102 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.899, allocations: 59.92 kB / 1.102 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.8991, allocations: 56.42 kB / 1.102 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/0.8992, allocations: 31.98 kB / 1.102 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001784/0.901, allocations: 1.239 MB / 1.103 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.901, allocations: 0 / 1.103 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002054/0.903, allocations: 0.659 MB / 1.104 GB, free: 1.926 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.001338/0.9044, allocations: 0.6038 MB / 1.104 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002224/0.9066, allocations: 0.8975 MB / 1.105 GB, free: 432 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.9066, allocations: 0 / 1.105 GB, free: 432 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007691/0.9074, allocations: 356.4 kB / 1.106 GB, free: 80 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005424/0.9129, allocations: 1.206 MB / 1.107 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005725/0.9186, allocations: 3.105 MB / 1.11 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.9199, allocations: 1.409 MB / 1.111 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001725/0.9216, allocations: 379.5 kB / 1.111 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.9219, allocations: 155.3 kB / 1.112 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of SimCode: time 1.984e-06/0.9219, allocations: 0 / 1.112 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of Templates: time 0.07667/0.9986, allocations: 41.79 MB / 1.152 GB, free: 0.5195 MB / 0.9044 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches