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.006354/0.006354, allocations: 105.3 kB / 15.74 MB, free: 6.02 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.001253/0.001253, allocations: 195.3 kB / 16.68 MB, free: 5.926 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.381/2.381, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 62.31 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3012, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07709/0.3784, allocations: 77.16 MB / 1.163 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03111/0.4095, allocations: 18.88 MB / 1.182 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004068/0.4136, allocations: 115.4 kB / 1.182 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004149/0.4179, allocations: 1.285 MB / 1.183 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.4293, allocations: 3.815 MB / 1.187 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006537/0.4358, allocations: 2.094 MB / 1.189 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01096/0.4468, allocations: 6.688 MB / 1.195 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004039/0.4509, allocations: 2.102 MB / 1.197 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006814/0.4577, allocations: 2.369 MB / 1.2 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003985/0.4617, allocations: 1.758 MB / 1.201 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0008604/0.4626, allocations: 200 kB / 1.202 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005118/0.4677, allocations: 1.614 MB / 1.203 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.4689, allocations: 0.5371 MB / 1.204 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003317/0.4723, allocations: 1.248 MB / 1.205 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.4824, allocations: 3.749 MB / 1.209 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.4824, allocations: 4 kB / 1.209 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4824, allocations: 0 / 1.209 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001355/0.4826, allocations: 0 / 1.209 GB, free: 5.445 MB / 0.9669 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.007076/0.4897, allocations: 2.786 MB / 1.211 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.4897, allocations: 16.02 kB / 1.211 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.4909, allocations: 271.3 kB / 1.212 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004325/0.4953, allocations: 2.04 MB / 1.214 GB, free: 224 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.4954, allocations: 106.7 kB / 1.214 GB, free: 116 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003803/0.4958, allocations: 144 kB / 1.214 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003066/0.4989, allocations: 1.524 MB / 1.215 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/0.4989, allocations: 3.953 kB / 1.215 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.4991, allocations: 64 kB / 1.215 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-05/0.4992, allocations: 47.98 kB / 1.215 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.5016, allocations: 1.119 MB / 1.217 GB, free: 13.13 MB / 0.9825 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.009245/0.5108, allocations: 7.624 MB / 1.224 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/0.5118, allocations: 472.6 kB / 1.224 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006478/0.5125, allocations: 334.4 kB / 1.225 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009132/0.5134, allocations: 1.152 MB / 1.226 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.5135, allocations: 39.12 kB / 1.226 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=59): time 2.675e-06/0.5135, allocations: 0 / 1.226 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=59): time 0.002446/0.5159, allocations: 0.9701 MB / 1.227 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.516, allocations: 59.95 kB / 1.227 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/0.5187, allocations: 1.783 MB / 1.229 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.5188, allocations: 41.7 kB / 1.229 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008512/0.5197, allocations: 0.9529 MB / 1.23 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.5199, allocations: 226 kB / 1.23 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/0.5203, allocations: 230.8 kB / 1.23 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5204, allocations: 345.9 kB / 1.23 GB, free: 14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007436/0.5212, allocations: 342.3 kB / 1.231 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.5222, allocations: 0.6899 MB / 1.231 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.524, allocations: 1.008 MB / 1.232 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.524, allocations: 4 kB / 1.232 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002771/0.5268, allocations: 1.227 MB / 1.234 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.5268, allocations: 8.125 kB / 1.234 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.5268, allocations: 16 kB / 1.234 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/0.5269, allocations: 16 kB / 1.234 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.5279, allocations: 291.5 kB / 1.234 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.247e-05/0.528, allocations: 19.94 kB / 1.234 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.5294, allocations: 170.9 kB / 1.234 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.5295, allocations: 51.98 kB / 1.234 GB, free: 9.875 MB / 0.9981 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.0008316/0.5304, allocations: 437.4 kB / 1.235 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005309/0.5309, allocations: 198.7 kB / 1.235 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/0.5328, allocations: 0.8754 MB / 1.236 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.5329, allocations: 4 kB / 1.236 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5329, allocations: 0 / 1.236 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001369/0.5343, allocations: 0.7918 MB / 1.236 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/0.539, allocations: 2.455 MB / 1.239 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.5391, allocations: 11.88 kB / 1.239 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008325/0.5399, allocations: 180 kB / 1.239 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.758e-05/0.54, allocations: 4 kB / 1.239 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/0.54, allocations: 20 kB / 1.239 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.54, allocations: 7.938 kB / 1.239 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.54, allocations: 4 kB / 1.239 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.5428, allocations: 1.341 MB / 1.24 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009298/0.5437, allocations: 375.5 kB / 1.241 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004294/0.5442, allocations: 20 kB / 1.241 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.5454, allocations: 71.8 kB / 1.241 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.5456, allocations: 48.5 kB / 1.241 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.78e-05/0.5457, allocations: 35.97 kB / 1.241 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00219/0.5479, allocations: 1.235 MB / 1.242 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5479, allocations: 0 / 1.242 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002416/0.5503, allocations: 0.6626 MB / 1.243 GB, free: 0.8906 MB / 0.9981 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.001675/0.552, allocations: 0.6174 MB / 1.243 GB, free: 292 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001986/0.554, allocations: 0.8156 MB / 1.244 GB, free: 15.47 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.554, allocations: 4 kB / 1.244 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007419/0.5547, allocations: 360.4 kB / 1.244 GB, free: 15.11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005795/0.5605, allocations: 1.19 MB / 1.246 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005607/0.5662, allocations: 3.112 MB / 1.249 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.5676, allocations: 1.409 MB / 1.25 GB, free: 9.324 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001786/0.5694, allocations: 376.7 kB / 1.25 GB, free: 8.961 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004845/0.5699, allocations: 159.4 kB / 1.251 GB, free: 8.805 MB / 1.014 GB Notification: Performance of SimCode: time 1.473e-06/0.5699, allocations: 0 / 1.251 GB, free: 8.805 MB / 1.014 GB Notification: Performance of Templates: time 0.697/1.267, allocations: 41.93 MB / 1.291 GB, free: 153.6 MB / 1.014 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