Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001128/0.001128, allocations: 108 kB / 15.6 MB, free: 132 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.001322/0.001323, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6793/0.6808, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07263/0.7535, allocations: 77.17 MB / 1.093 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02611/0.7796, allocations: 18.87 MB / 1.111 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005799/0.7855, allocations: 111.4 kB / 1.111 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004638/0.7902, allocations: 1.246 MB / 1.112 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01162/0.8019, allocations: 3.633 MB / 1.116 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005722/0.8076, allocations: 2.076 MB / 1.118 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.008365/0.816, allocations: 6.671 MB / 1.124 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003388/0.8194, allocations: 2.088 MB / 1.127 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005249/0.8247, allocations: 2.29 MB / 1.129 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003144/0.8278, allocations: 1.742 MB / 1.13 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006724/0.8285, allocations: 200 kB / 1.131 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004542/0.833, allocations: 1.63 MB / 1.132 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0009193/0.834, allocations: 0.5294 MB / 1.133 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002395/0.8364, allocations: 1.252 MB / 1.134 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006753/0.8432, allocations: 3.696 MB / 1.138 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.8432, allocations: 0 / 1.138 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8432, allocations: 3.938 kB / 1.138 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001967/0.8434, allocations: 0 / 1.138 GB, free: 6.859 MB / 0.8887 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.006428/0.8499, allocations: 2.715 MB / 1.14 GB, free: 4.078 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.8499, allocations: 8.031 kB / 1.14 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.8515, allocations: 266 kB / 1.141 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004507/0.856, allocations: 1.903 MB / 1.142 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.8561, allocations: 110.7 kB / 1.142 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003883/0.8565, allocations: 143.9 kB / 1.143 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.8599, allocations: 1.513 MB / 1.144 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.86, allocations: 7.938 kB / 1.144 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.8601, allocations: 56.08 kB / 1.144 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.011e-05/0.8602, allocations: 36 kB / 1.144 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.8624, allocations: 1.13 MB / 1.145 GB, free: 14.78 MB / 0.9044 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.00929/0.8717, allocations: 7.665 MB / 1.153 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.8728, allocations: 476.5 kB / 1.153 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006584/0.8734, allocations: 330.3 kB / 1.154 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008968/0.8744, allocations: 1.156 MB / 1.155 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.8744, allocations: 47.12 kB / 1.155 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=59): time 2.826e-06/0.8744, allocations: 3.938 kB / 1.155 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of matching and sorting (n=59): time 0.002342/0.8768, allocations: 0.9652 MB / 1.156 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.8768, allocations: 55.97 kB / 1.156 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/0.8794, allocations: 1.787 MB / 1.157 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.651e-05/0.8795, allocations: 45.7 kB / 1.157 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007621/0.8802, allocations: 0.9239 MB / 1.158 GB, free: 428 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.8804, allocations: 220.9 kB / 1.159 GB, free: 204 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/0.8808, allocations: 230.7 kB / 1.159 GB, free: 15.97 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.8809, allocations: 349.9 kB / 1.159 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007282/0.8817, allocations: 334.4 kB / 1.159 GB, free: 15.29 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009623/0.8826, allocations: 0.686 MB / 1.16 GB, free: 14.46 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.8843, allocations: 1.008 MB / 1.161 GB, free: 13.3 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.8843, allocations: 4 kB / 1.161 GB, free: 13.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002479/0.8868, allocations: 1.213 MB / 1.162 GB, free: 12.08 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.8868, allocations: 10.19 kB / 1.162 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.8869, allocations: 12.88 kB / 1.162 GB, free: 12.06 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.8869, allocations: 16 kB / 1.162 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.8879, allocations: 291.5 kB / 1.163 GB, free: 11.76 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.084e-05/0.888, allocations: 23.92 kB / 1.163 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.8893, allocations: 166.4 kB / 1.163 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.465e-05/0.8894, allocations: 55.98 kB / 1.163 GB, free: 11.52 MB / 0.92 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.0007059/0.8901, allocations: 441.3 kB / 1.163 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004449/0.8906, allocations: 193.7 kB / 1.163 GB, free: 10.88 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.8924, allocations: 0.8765 MB / 1.164 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.8924, allocations: 4 kB / 1.164 GB, free: 10 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.8925, allocations: 4 kB / 1.164 GB, free: 10 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001346/0.8938, allocations: 0.7879 MB / 1.165 GB, free: 9.164 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004321/0.8981, allocations: 2.451 MB / 1.168 GB, free: 6.617 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.8982, allocations: 7.938 kB / 1.168 GB, free: 6.609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008035/0.899, allocations: 184 kB / 1.168 GB, free: 6.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.899, allocations: 4 kB / 1.168 GB, free: 6.426 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.899, allocations: 20 kB / 1.168 GB, free: 6.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.8991, allocations: 4 kB / 1.168 GB, free: 6.402 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.8991, allocations: 3.938 kB / 1.168 GB, free: 6.398 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.9015, allocations: 1.331 MB / 1.169 GB, free: 5.023 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006375/0.9022, allocations: 374.4 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/0.9025, allocations: 12 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.9036, allocations: 67.86 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.9037, allocations: 48.48 kB / 1.17 GB, free: 4.512 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.252e-05/0.9038, allocations: 35.98 kB / 1.17 GB, free: 4.477 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001719/0.9055, allocations: 1.239 MB / 1.171 GB, free: 3.219 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9055, allocations: 4 kB / 1.171 GB, free: 3.215 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001658/0.9071, allocations: 0.6551 MB / 1.171 GB, free: 2.559 MB / 0.92 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.00112/0.9083, allocations: 0.6105 MB / 1.172 GB, free: 1.949 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.9103, allocations: 0.8897 MB / 1.173 GB, free: 1.062 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.9103, allocations: 4 kB / 1.173 GB, free: 1.059 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007345/0.9111, allocations: 356.4 kB / 1.173 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005211/0.9163, allocations: 1.21 MB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005533/0.9219, allocations: 3.101 MB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.9231, allocations: 1.405 MB / 1.179 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001604/0.9247, allocations: 379.6 kB / 1.179 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/0.9251, allocations: 147.4 kB / 1.179 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of SimCode: time 9.62e-07/0.9251, allocations: 4 kB / 1.179 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of Templates: time 0.06718/0.9923, allocations: 41.79 MB / 1.22 GB, free: 1.199 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches