Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009224/0.0009224, allocations: 80.44 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008549/0.0008549, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8714/0.8714, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.614/1.614, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.175e-05, allocations: 9.234 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.04178/0.0418, allocations: 70.44 MB / 1.021 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0181/0.0599, allocations: 17.61 MB / 1.038 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002567/0.06247, allocations: 150.7 kB / 1.038 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.06469, allocations: 1.261 MB / 1.039 GB, free: 9.227 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.007959/0.07265, allocations: 3.985 MB / 1.043 GB, free: 5.223 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00362/0.07627, allocations: 2.226 MB / 1.045 GB, free: 3.012 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.5188/0.5951, allocations: 6.855 MB / 1.052 GB, free: 49.23 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002447/0.5975, allocations: 1.591 MB / 1.053 GB, free: 49.12 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004734/0.6023, allocations: 3.238 MB / 1.057 GB, free: 49.03 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.6036, allocations: 1.592 MB / 1.058 GB, free: 48.82 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.6038, allocations: 199.8 kB / 1.058 GB, free: 48.82 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.6066, allocations: 1.363 MB / 1.06 GB, free: 48.71 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003529/0.6069, allocations: 0.5851 MB / 1.06 GB, free: 48.59 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006306/0.6075, allocations: 0.8492 MB / 1.061 GB, free: 48.48 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003142/0.6107, allocations: 3.794 MB / 1.065 GB, free: 48.26 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.6107, allocations: 0 / 1.065 GB, free: 48.26 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6107, allocations: 1.375 kB / 1.065 GB, free: 48.26 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.6107, allocations: 0 / 1.065 GB, free: 48.26 MB / 0.9948 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.002551/0.6133, allocations: 2.705 MB / 1.067 GB, free: 46.99 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.6133, allocations: 8.625 kB / 1.067 GB, free: 46.99 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003917/0.6137, allocations: 284.6 kB / 1.068 GB, free: 46.86 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.6157, allocations: 1.991 MB / 1.07 GB, free: 46.37 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.215e-05/0.6158, allocations: 108.2 kB / 1.07 GB, free: 46.36 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.6159, allocations: 149.9 kB / 1.07 GB, free: 46.36 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.6175, allocations: 1.82 MB / 1.072 GB, free: 45.76 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.6175, allocations: 2.766 kB / 1.072 GB, free: 45.76 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.052e-05/0.6176, allocations: 54.81 kB / 1.072 GB, free: 45.76 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.6176, allocations: 43.84 kB / 1.072 GB, free: 45.76 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.6189, allocations: 1.123 MB / 1.073 GB, free: 45.74 MB / 0.9948 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.003833/0.6228, allocations: 5.085 MB / 1.078 GB, free: 43.74 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/0.6234, allocations: 449.4 kB / 1.078 GB, free: 43.71 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.6237, allocations: 315.7 kB / 1.079 GB, free: 43.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.6239, allocations: 108.7 kB / 1.079 GB, free: 43.7 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.624, allocations: 43.38 kB / 1.079 GB, free: 43.66 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=59): time 2.865e-06/0.624, allocations: 1.078 kB / 1.079 GB, free: 43.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=59): time 0.001177/0.6251, allocations: 0.9482 MB / 1.08 GB, free: 43.51 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.6252, allocations: 60.42 kB / 1.08 GB, free: 43.45 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.6271, allocations: 1.556 MB / 1.081 GB, free: 43.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.6271, allocations: 39.2 kB / 1.081 GB, free: 43.22 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/0.6276, allocations: 0.9735 MB / 1.082 GB, free: 42.83 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.6277, allocations: 220.8 kB / 1.082 GB, free: 42.69 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.6279, allocations: 229.5 kB / 1.083 GB, free: 42.66 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.518e-05/0.628, allocations: 351.7 kB / 1.083 GB, free: 42.35 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004372/0.6284, allocations: 333.4 kB / 1.083 GB, free: 42.35 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006481/0.6291, allocations: 0.9623 MB / 1.084 GB, free: 41.61 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.6301, allocations: 1.019 MB / 1.085 GB, free: 41.23 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.6301, allocations: 6.594 kB / 1.085 GB, free: 41.23 MB / 0.9948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001421/0.6315, allocations: 1.203 MB / 1.086 GB, free: 41.09 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.6315, allocations: 12.27 kB / 1.086 GB, free: 41.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.6316, allocations: 9.75 kB / 1.086 GB, free: 41.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/0.6316, allocations: 19.88 kB / 1.086 GB, free: 41.08 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.6322, allocations: 287.6 kB / 1.087 GB, free: 41.08 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.6322, allocations: 22.97 kB / 1.087 GB, free: 41.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.6327, allocations: 135.7 kB / 1.087 GB, free: 41.03 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-05/0.6328, allocations: 53.53 kB / 1.087 GB, free: 41.03 MB / 0.9948 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.0004209/0.6332, allocations: 442.4 kB / 1.087 GB, free: 40.9 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.6334, allocations: 175.4 kB / 1.087 GB, free: 40.81 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.6345, allocations: 0.861 MB / 1.088 GB, free: 40.74 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.6345, allocations: 10.34 kB / 1.088 GB, free: 40.74 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6345, allocations: 0 / 1.088 GB, free: 40.74 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008097/0.6353, allocations: 0.8109 MB / 1.089 GB, free: 40.48 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.6377, allocations: 2.078 MB / 1.091 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6377, allocations: 2.25 kB / 1.091 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.6382, allocations: 180.2 kB / 1.091 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.6382, allocations: 9.281 kB / 1.091 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.6382, allocations: 18.75 kB / 1.091 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.106e-06/0.6382, allocations: 8.906 kB / 1.091 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6382, allocations: 1.25 kB / 1.091 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.6399, allocations: 1.325 MB / 1.093 GB, free: 39.81 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.6402, allocations: 260.2 kB / 1.093 GB, free: 39.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.6403, allocations: 15.53 kB / 1.093 GB, free: 39.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.6408, allocations: 67.53 kB / 1.093 GB, free: 39.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.6409, allocations: 56.05 kB / 1.093 GB, free: 39.69 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.372e-05/0.6409, allocations: 40 kB / 1.093 GB, free: 39.69 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001084/0.642, allocations: 1.026 MB / 1.094 GB, free: 39.58 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.642, allocations: 0 / 1.094 GB, free: 39.58 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001417/0.6434, allocations: 0.6904 MB / 1.095 GB, free: 39.46 MB / 0.9948 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.0008226/0.6443, allocations: 0.6025 MB / 1.095 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.6454, allocations: 0.7888 MB / 1.096 GB, free: 39.26 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6454, allocations: 1.031 kB / 1.096 GB, free: 39.26 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.6459, allocations: 338.6 kB / 1.096 GB, free: 39.25 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.6481, allocations: 0.9158 MB / 1.097 GB, free: 39.12 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.6513, allocations: 3.017 MB / 1.1 GB, free: 37.75 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008166/0.6521, allocations: 0.8218 MB / 1.101 GB, free: 37.57 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.6524, allocations: 142 kB / 1.101 GB, free: 37.55 MB / 0.9948 GB Notification: Performance of SimCode: time 7.72e-07/0.6524, allocations: 0 / 1.101 GB, free: 37.55 MB / 0.9948 GB Notification: Performance of Templates: time 0.04294/0.6954, allocations: 32.87 MB / 1.133 GB, free: 32.51 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.300818286836147]