Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001814/0.001814, allocations: 107.5 kB / 16.36 MB, free: 5.824 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.002052/0.002052, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.464/2.464, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 70.27 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3067, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.6682/0.9749, allocations: 77.17 MB / 1.102 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.035/1.01, allocations: 18.89 MB / 1.121 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004376/1.014, allocations: 112.6 kB / 1.121 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00417/1.019, allocations: 1.246 MB / 1.122 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01156/1.03, allocations: 3.63 MB / 1.125 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0063/1.037, allocations: 2.096 MB / 1.127 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01028/1.047, allocations: 6.683 MB / 1.134 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003403/1.05, allocations: 2.088 MB / 1.136 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006179/1.056, allocations: 2.301 MB / 1.138 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00396/1.06, allocations: 1.763 MB / 1.14 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005679/1.061, allocations: 199.1 kB / 1.14 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005118/1.066, allocations: 1.625 MB / 1.142 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0009444/1.067, allocations: 0.537 MB / 1.142 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002901/1.07, allocations: 1.243 MB / 1.143 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007559/1.078, allocations: 3.732 MB / 1.147 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.078, allocations: 1.094 kB / 1.147 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.204e-06/1.078, allocations: 0 / 1.147 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.737e-05/1.078, allocations: 3.938 kB / 1.147 GB, free: 4.926 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.005451/1.083, allocations: 2.715 MB / 1.15 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.083, allocations: 9.375 kB / 1.15 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/1.084, allocations: 269.8 kB / 1.15 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003832/1.088, allocations: 2.008 MB / 1.152 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.412e-05/1.088, allocations: 113.8 kB / 1.152 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/1.088, allocations: 142.8 kB / 1.152 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/1.091, allocations: 1.518 MB / 1.154 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/1.091, allocations: 6.031 kB / 1.154 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/1.091, allocations: 58 kB / 1.154 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/1.091, allocations: 40.05 kB / 1.154 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/1.094, allocations: 1.126 MB / 1.155 GB, free: 308 kB / 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.00851/1.102, allocations: 7.597 MB / 1.162 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009177/1.103, allocations: 485.5 kB / 1.163 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006031/1.104, allocations: 334.3 kB / 1.163 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008241/1.104, allocations: 1.151 MB / 1.164 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/1.104, allocations: 47.73 kB / 1.164 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=59): time 2.084e-06/1.105, allocations: 0 / 1.164 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of matching and sorting (n=59): time 0.00214/1.107, allocations: 0.9595 MB / 1.165 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/1.107, allocations: 63.19 kB / 1.165 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/1.109, allocations: 1.783 MB / 1.167 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.686e-05/1.109, allocations: 43.45 kB / 1.167 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007282/1.11, allocations: 0.927 MB / 1.168 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/1.11, allocations: 226 kB / 1.168 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/1.11, allocations: 225.1 kB / 1.168 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.11, allocations: 347.5 kB / 1.169 GB, free: 4.598 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006583/1.111, allocations: 329.3 kB / 1.169 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008961/1.112, allocations: 0.6907 MB / 1.17 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/1.113, allocations: 1.009 MB / 1.171 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/1.113, allocations: 2.719 kB / 1.171 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002087/1.116, allocations: 1.217 MB / 1.172 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.116, allocations: 10.84 kB / 1.172 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/1.116, allocations: 15.56 kB / 1.172 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/1.116, allocations: 14.28 kB / 1.172 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009123/1.117, allocations: 292.7 kB / 1.172 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/1.117, allocations: 24.17 kB / 1.172 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/1.118, allocations: 167.6 kB / 1.172 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/1.118, allocations: 48.62 kB / 1.172 GB, free: 2.23 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.0005967/1.118, allocations: 445.2 kB / 1.173 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/1.119, allocations: 193.1 kB / 1.173 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/1.12, allocations: 0.8661 MB / 1.174 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.12, allocations: 11.3 kB / 1.174 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.12, allocations: 0 / 1.174 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001236/1.122, allocations: 0.7936 MB / 1.175 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003928/1.126, allocations: 2.449 MB / 1.177 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.126, allocations: 0 / 1.177 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007363/1.126, allocations: 186.8 kB / 1.177 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/1.126, allocations: 4.375 kB / 1.177 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/1.126, allocations: 20.02 kB / 1.177 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/1.126, allocations: 5.531 kB / 1.177 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.496e-05/1.126, allocations: 2.906 kB / 1.177 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/1.129, allocations: 1.339 MB / 1.179 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008723/1.13, allocations: 371.4 kB / 1.179 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/1.13, allocations: 13.38 kB / 1.179 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009163/1.131, allocations: 62.98 kB / 1.179 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.131, allocations: 52.77 kB / 1.179 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-05/1.131, allocations: 35.67 kB / 1.179 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001611/1.133, allocations: 1.242 MB / 1.18 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/1.133, allocations: 0 / 1.18 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001943/1.135, allocations: 0.6549 MB / 1.181 GB, free: 12.95 MB / 0.8887 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.00134/1.136, allocations: 0.6144 MB / 1.182 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001862/1.138, allocations: 0.8113 MB / 1.182 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.138, allocations: 7.406 kB / 1.182 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007275/1.139, allocations: 358.6 kB / 1.183 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004901/1.143, allocations: 1.202 MB / 1.184 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005744/1.149, allocations: 3.055 MB / 1.187 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009942/1.15, allocations: 1.409 MB / 1.188 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001511/1.152, allocations: 376.2 kB / 1.189 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/1.152, allocations: 155.3 kB / 1.189 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of SimCode: time 9.42e-07/1.152, allocations: 0 / 1.189 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of Templates: time 0.06826/1.22, allocations: 41.64 MB / 1.229 GB, free: 12.96 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches