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.001349/0.001349, allocations: 101.4 kB / 16.27 MB, free: 5.996 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.001303/0.001303, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.53/2.53, allocations: 437.1 MB / 0.7111 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 73.64 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.34, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.5821/0.9221, allocations: 77.15 MB / 1.093 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02673/0.9489, allocations: 18.9 MB / 1.112 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004549/0.9535, allocations: 107.9 kB / 1.112 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004103/0.9577, allocations: 1.25 MB / 1.113 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01153/0.9692, allocations: 3.622 MB / 1.117 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006016/0.9753, allocations: 2.078 MB / 1.119 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01014/0.9854, allocations: 6.671 MB / 1.125 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003232/0.9887, allocations: 2.096 MB / 1.127 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005933/0.9946, allocations: 2.286 MB / 1.129 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004055/0.9987, allocations: 1.754 MB / 1.131 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006906/0.9994, allocations: 199.4 kB / 1.131 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006145/1.006, allocations: 1.616 MB / 1.133 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001126/1.007, allocations: 0.539 MB / 1.133 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003511/1.01, allocations: 1.246 MB / 1.135 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008666/1.019, allocations: 3.7 MB / 1.138 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.019, allocations: 0 / 1.138 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.863e-06/1.019, allocations: 0 / 1.138 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001025/1.019, allocations: 1.375 kB / 1.138 GB, free: 14.04 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.006412/1.026, allocations: 2.715 MB / 1.141 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.026, allocations: 15.11 kB / 1.141 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/1.027, allocations: 264.5 kB / 1.141 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003622/1.03, allocations: 1.901 MB / 1.143 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/1.031, allocations: 105.3 kB / 1.143 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/1.031, allocations: 150.5 kB / 1.143 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002829/1.034, allocations: 1.517 MB / 1.145 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/1.034, allocations: 5.062 kB / 1.145 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/1.034, allocations: 58.34 kB / 1.145 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.844e-05/1.034, allocations: 41.34 kB / 1.145 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/1.036, allocations: 1.12 MB / 1.146 GB, free: 9.941 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.0111/1.047, allocations: 7.661 MB / 1.153 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/1.048, allocations: 480.3 kB / 1.154 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006771/1.049, allocations: 334.9 kB / 1.154 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.05, allocations: 1.152 MB / 1.155 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/1.05, allocations: 43.56 kB / 1.155 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=59): time 2.444e-06/1.05, allocations: 4 kB / 1.155 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of matching and sorting (n=59): time 0.002697/1.053, allocations: 0.9634 MB / 1.156 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/1.053, allocations: 58.5 kB / 1.156 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003102/1.056, allocations: 1.787 MB / 1.158 GB, free: 376 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/1.056, allocations: 43.23 kB / 1.158 GB, free: 332 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001361/1.058, allocations: 0.9695 MB / 1.159 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000282/1.058, allocations: 221.6 kB / 1.159 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003842/1.058, allocations: 231.5 kB / 1.16 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.059, allocations: 350.5 kB / 1.16 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007845/1.059, allocations: 329.5 kB / 1.16 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/1.06, allocations: 0.6949 MB / 1.161 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/1.062, allocations: 1.007 MB / 1.162 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/1.062, allocations: 3.125 kB / 1.162 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002798/1.065, allocations: 1.216 MB / 1.163 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.065, allocations: 13.5 kB / 1.163 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/1.065, allocations: 11.95 kB / 1.163 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/1.065, allocations: 15.88 kB / 1.163 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000993/1.066, allocations: 284.9 kB / 1.163 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.615e-05/1.066, allocations: 27.5 kB / 1.163 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/1.068, allocations: 170.2 kB / 1.164 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/1.068, allocations: 47.66 kB / 1.164 GB, free: 12.68 MB / 0.8731 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.0008535/1.069, allocations: 446.3 kB / 1.164 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005998/1.07, allocations: 192 kB / 1.164 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/1.072, allocations: 0.8665 MB / 1.165 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/1.072, allocations: 15.7 kB / 1.165 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.072, allocations: 4 kB / 1.165 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001462/1.073, allocations: 0.7957 MB / 1.166 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/1.079, allocations: 2.446 MB / 1.168 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/1.079, allocations: 0 / 1.168 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000801/1.08, allocations: 188.9 kB / 1.168 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/1.08, allocations: 2.344 kB / 1.168 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/1.08, allocations: 19.95 kB / 1.168 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/1.08, allocations: 5.344 kB / 1.168 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.08, allocations: 3 kB / 1.168 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/1.083, allocations: 1.344 MB / 1.17 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009997/1.084, allocations: 371.7 kB / 1.17 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005502/1.084, allocations: 17.78 kB / 1.17 GB, free: 8.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/1.086, allocations: 55.36 kB / 1.17 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/1.086, allocations: 55.47 kB / 1.17 GB, free: 8.285 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.086e-05/1.086, allocations: 35.72 kB / 1.17 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002017/1.088, allocations: 1.243 MB / 1.172 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.088, allocations: 0 / 1.172 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002269/1.09, allocations: 0.653 MB / 1.172 GB, free: 7.426 MB / 0.8731 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.001401/1.092, allocations: 0.6088 MB / 1.173 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002116/1.094, allocations: 0.8857 MB / 1.174 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.094, allocations: 192 / 1.174 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007739/1.095, allocations: 355.5 kB / 1.174 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00627/1.101, allocations: 1.219 MB / 1.175 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005943/1.107, allocations: 3.126 MB / 1.178 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/1.108, allocations: 1.392 MB / 1.18 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/1.109, allocations: 159.3 kB / 1.18 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of SimCode: time 8.22e-07/1.109, allocations: 3.938 kB / 1.18 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of Templates: time 0.05779/1.167, allocations: 34.89 MB / 1.214 GB, free: 15.94 MB / 0.92 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches