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.001076/0.001076, allocations: 90.83 kB / 16.02 MB, free: 80 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.001366/0.001366, allocations: 178 kB / 16.92 MB, free: 6.652 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.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.393/2.393, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003924, allocations: 16 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8153/0.8158, allocations: 142.4 MB / 0.9557 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08062/0.8964, allocations: 75.3 MB / 1.029 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02867/0.9251, allocations: 18.77 MB / 1.048 GB, free: 1.047 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004019/0.9292, allocations: 95.31 kB / 1.048 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003958/0.9332, allocations: 1.018 MB / 1.049 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.9442, allocations: 3.375 MB / 1.052 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005969/0.9502, allocations: 1.908 MB / 1.054 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01095/0.9611, allocations: 8.895 MB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003159/0.9643, allocations: 1.696 MB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004062/0.9684, allocations: 1.878 MB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003065/0.9715, allocations: 1.695 MB / 1.068 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005711/0.9721, allocations: 76 kB / 1.068 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00396/0.9761, allocations: 1.446 MB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007507/0.9769, allocations: 414 kB / 1.07 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002257/0.9791, allocations: 1.121 MB / 1.071 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004559/0.9837, allocations: 2.798 MB / 1.073 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9838, allocations: 4 kB / 1.073 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9838, allocations: 4 kB / 1.073 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001004/0.9839, allocations: 0 / 1.073 GB, free: 6.531 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.004833/0.9887, allocations: 2.287 MB / 1.076 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.9888, allocations: 12.03 kB / 1.076 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009655/0.9898, allocations: 265.9 kB / 1.076 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003928/0.9937, allocations: 1.972 MB / 1.078 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.9938, allocations: 102.7 kB / 1.078 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003277/0.9942, allocations: 147.9 kB / 1.078 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003176/0.9974, allocations: 1.54 MB / 1.08 GB, free: 20 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.863e-05/0.9974, allocations: 7.938 kB / 1.08 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.9977, allocations: 52.08 kB / 1.08 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.999e-05/0.9977, allocations: 40 kB / 1.08 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/1, allocations: 1.177 MB / 1.081 GB, free: 14.73 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.01032/1.011, allocations: 7.587 MB / 1.088 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/1.012, allocations: 0.4971 MB / 1.089 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007148/1.013, allocations: 356.2 kB / 1.089 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009267/1.014, allocations: 1.148 MB / 1.09 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/1.014, allocations: 51.11 kB / 1.09 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=59): time 2.676e-06/1.014, allocations: 0 / 1.09 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59): time 0.002572/1.016, allocations: 1.024 MB / 1.091 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/1.016, allocations: 63.95 kB / 1.091 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/1.019, allocations: 1.755 MB / 1.093 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/1.019, allocations: 37.7 kB / 1.093 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007999/1.02, allocations: 0.9278 MB / 1.094 GB, free: 384 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/1.02, allocations: 217 kB / 1.094 GB, free: 164 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/1.02, allocations: 97.66 kB / 1.094 GB, free: 60 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.02, allocations: 353.8 kB / 1.095 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007848/1.021, allocations: 358.4 kB / 1.095 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009809/1.022, allocations: 0.7056 MB / 1.096 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/1.024, allocations: 1.055 MB / 1.097 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/1.024, allocations: 4 kB / 1.097 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002477/1.026, allocations: 1.257 MB / 1.098 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.026, allocations: 8 kB / 1.098 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/1.026, allocations: 12.03 kB / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/1.026, allocations: 20 kB / 1.098 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.027, allocations: 315.5 kB / 1.098 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-05/1.027, allocations: 19.94 kB / 1.098 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/1.029, allocations: 250.4 kB / 1.098 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.229e-05/1.029, allocations: 51.98 kB / 1.098 GB, free: 11.38 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.0007741/1.03, allocations: 445.3 kB / 1.099 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003476/1.03, allocations: 193.6 kB / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/1.032, allocations: 0.9106 MB / 1.1 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/1.032, allocations: 8 kB / 1.1 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.032, allocations: 0 / 1.1 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/1.034, allocations: 0.8347 MB / 1.101 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004222/1.038, allocations: 2.482 MB / 1.103 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/1.038, allocations: 7.938 kB / 1.103 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008167/1.039, allocations: 216 kB / 1.103 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/1.039, allocations: 4 kB / 1.103 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/1.039, allocations: 16 kB / 1.103 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/1.039, allocations: 4 kB / 1.103 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/1.039, allocations: 0 / 1.103 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/1.041, allocations: 1.398 MB / 1.105 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008444/1.042, allocations: 406.2 kB / 1.105 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/1.042, allocations: 23.92 kB / 1.105 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.044, allocations: 131.6 kB / 1.105 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/1.044, allocations: 60.38 kB / 1.105 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.277e-05/1.044, allocations: 35.97 kB / 1.105 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001731/1.046, allocations: 1.22 MB / 1.107 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/1.046, allocations: 0 / 1.107 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001958/1.048, allocations: 0.6357 MB / 1.107 GB, free: 2.133 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.001133/1.049, allocations: 0.5769 MB / 1.108 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001866/1.051, allocations: 0.8516 MB / 1.109 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.051, allocations: 4 kB / 1.109 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007539/1.051, allocations: 383.6 kB / 1.109 GB, free: 336 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006975/1.058, allocations: 1.205 MB / 1.11 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005418/1.064, allocations: 3.852 MB / 1.114 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009393/1.065, allocations: 1.396 MB / 1.115 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/1.065, allocations: 155.4 kB / 1.115 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of SimCode: time 9.02e-07/1.065, allocations: 0 / 1.115 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of Templates: time 0.05417/1.119, allocations: 34.39 MB / 1.149 GB, free: 7.547 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/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