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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001611/0.001611, allocations: 104 kB / 16.35 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.001886/0.001886, allocations: 191.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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 60.47 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2677, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.5256/0.7933, allocations: 77.17 MB / 1.094 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02386/0.8172, allocations: 18.88 MB / 1.113 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004085/0.8213, allocations: 117.1 kB / 1.113 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003904/0.8253, allocations: 1.242 MB / 1.114 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01246/0.8378, allocations: 3.629 MB / 1.117 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007091/0.8449, allocations: 2.097 MB / 1.119 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01173/0.8567, allocations: 6.683 MB / 1.126 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00387/0.8606, allocations: 2.09 MB / 1.128 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005886/0.8665, allocations: 2.312 MB / 1.13 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/0.8703, allocations: 1.758 MB / 1.132 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0008165/0.8711, allocations: 199.6 kB / 1.132 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005327/0.8764, allocations: 1.616 MB / 1.134 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000989/0.8774, allocations: 0.5398 MB / 1.134 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002858/0.8803, allocations: 1.25 MB / 1.136 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007053/0.8874, allocations: 3.732 MB / 1.139 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8874, allocations: 0 / 1.139 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8874, allocations: 1.625 kB / 1.139 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.926e-05/0.8875, allocations: 0 / 1.139 GB, free: 14.25 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.00447/0.8919, allocations: 2.708 MB / 1.142 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.892, allocations: 15.14 kB / 1.142 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006852/0.8927, allocations: 269.4 kB / 1.142 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003229/0.8959, allocations: 2.009 MB / 1.144 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.558e-05/0.896, allocations: 109.5 kB / 1.144 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.8962, allocations: 149.2 kB / 1.144 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.8987, allocations: 1.517 MB / 1.146 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.8987, allocations: 5.094 kB / 1.146 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.8989, allocations: 58.64 kB / 1.146 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.972e-05/0.8989, allocations: 43.08 kB / 1.146 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.901, allocations: 1.122 MB / 1.147 GB, free: 10.04 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.008892/0.9099, allocations: 7.606 MB / 1.154 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.9111, allocations: 485.5 kB / 1.155 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006598/0.9118, allocations: 330.2 kB / 1.155 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009797/0.9128, allocations: 1.156 MB / 1.156 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.9128, allocations: 43.47 kB / 1.156 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=59): time 2.434e-06/0.9128, allocations: 0 / 1.156 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=59): time 0.002469/0.9153, allocations: 0.9642 MB / 1.157 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.9154, allocations: 61.47 kB / 1.157 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/0.9179, allocations: 1.784 MB / 1.159 GB, free: 188 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.918, allocations: 40.05 kB / 1.159 GB, free: 148 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008147/0.9188, allocations: 0.9299 MB / 1.16 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.9191, allocations: 225.9 kB / 1.16 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.9194, allocations: 222.5 kB / 1.16 GB, free: 15 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.9195, allocations: 355.5 kB / 1.161 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006574/0.9202, allocations: 324.2 kB / 1.161 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009238/0.9211, allocations: 0.6921 MB / 1.162 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.9227, allocations: 1.014 MB / 1.163 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.9227, allocations: 8.281 kB / 1.163 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002695/0.9254, allocations: 1.208 MB / 1.164 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.9254, allocations: 13.56 kB / 1.164 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.9255, allocations: 9.125 kB / 1.164 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.37e-05/0.9255, allocations: 16.44 kB / 1.164 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.9269, allocations: 298.3 kB / 1.164 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-05/0.927, allocations: 18.31 kB / 1.164 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.9286, allocations: 160.8 kB / 1.164 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.67e-05/0.9287, allocations: 52.39 kB / 1.165 GB, free: 12.31 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.0007154/0.9294, allocations: 444.1 kB / 1.165 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/0.9297, allocations: 195.9 kB / 1.165 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.9314, allocations: 0.865 MB / 1.166 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.9314, allocations: 5.25 kB / 1.166 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9314, allocations: 0 / 1.166 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001213/0.9326, allocations: 0.7954 MB / 1.167 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003761/0.9364, allocations: 2.451 MB / 1.169 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9364, allocations: 2.125 kB / 1.169 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000735/0.9371, allocations: 191.5 kB / 1.169 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.9372, allocations: 4.375 kB / 1.169 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.9372, allocations: 13.53 kB / 1.169 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.9372, allocations: 4.25 kB / 1.169 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.9372, allocations: 4.656 kB / 1.169 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.9394, allocations: 1.336 MB / 1.171 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00068/0.9401, allocations: 371.1 kB / 1.171 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.9403, allocations: 13.78 kB / 1.171 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009443/0.9413, allocations: 66.34 kB / 1.171 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.9414, allocations: 52.19 kB / 1.171 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/0.9415, allocations: 38.91 kB / 1.171 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001537/0.943, allocations: 1.239 MB / 1.172 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.943, allocations: 0 / 1.172 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001818/0.9449, allocations: 0.6486 MB / 1.173 GB, free: 7.055 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.001101/0.946, allocations: 0.626 MB / 1.174 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.9476, allocations: 0.8185 MB / 1.174 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9476, allocations: 2.594 kB / 1.174 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006526/0.9482, allocations: 349.6 kB / 1.175 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004354/0.9526, allocations: 1.194 MB / 1.176 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.9567, allocations: 3.063 MB / 1.179 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008488/0.9575, allocations: 1.401 MB / 1.18 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00123/0.9588, allocations: 367.2 kB / 1.181 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.9591, allocations: 155.3 kB / 1.181 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.9591, allocations: 0 / 1.181 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of Templates: time 0.07068/1.03, allocations: 41.66 MB / 1.221 GB, free: 8.539 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=480 -s gbode -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