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.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.001458/0.001458, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.00167/0.00167, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.533/1.533, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.209/3.209, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.904e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09611/0.09614, allocations: 70.83 MB / 0.9468 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.03445/0.1306, allocations: 18.69 MB / 0.965 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003816/0.1344, allocations: 162.6 kB / 0.9652 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.004155/0.1386, allocations: 1.265 MB / 0.9664 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01343/0.152, allocations: 4.045 MB / 0.9704 GB, free: 7.207 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.008509/0.1605, allocations: 2.669 MB / 0.973 GB, free: 4.531 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.01267/0.1732, allocations: 7.01 MB / 0.9798 GB, free: 13.5 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004201/0.1774, allocations: 1.668 MB / 0.9814 GB, free: 11.78 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01231/0.1897, allocations: 3.71 MB / 0.9851 GB, free: 8.09 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004266/0.194, allocations: 1.583 MB / 0.9866 GB, free: 6.504 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0007605/0.1947, allocations: 204 kB / 0.9868 GB, free: 6.305 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004676/0.1994, allocations: 1.364 MB / 0.9881 GB, free: 4.938 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.2005, allocations: 0.6068 MB / 0.9887 GB, free: 4.328 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.002574/0.2031, allocations: 0.8924 MB / 0.9896 GB, free: 3.434 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.2171, allocations: 3.926 MB / 0.9934 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.2171, allocations: 0 / 0.9934 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2171, allocations: 0 / 0.9934 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001715/0.2173, allocations: 4 kB / 0.9934 GB, free: 15.49 MB / 0.9636 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.008568/0.2258, allocations: 2.833 MB / 0.9962 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.2259, allocations: 8.031 kB / 0.9962 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.2275, allocations: 430.8 kB / 0.9966 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005151/0.2326, allocations: 2.256 MB / 0.9988 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.2328, allocations: 118.7 kB / 0.9989 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003465/0.2331, allocations: 167.9 kB / 0.9991 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003946/0.2371, allocations: 1.818 MB / 1.001 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.369e-05/0.2371, allocations: 3.984 kB / 1.001 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/0.2373, allocations: 60 kB / 1.001 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.915e-05/0.2373, allocations: 36 kB / 1.001 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/0.2401, allocations: 1.122 MB / 1.002 GB, free: 6.395 MB / 0.9636 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.009822/0.2499, allocations: 5.291 MB / 1.007 GB, free: 0.9531 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.251, allocations: 441 kB / 1.008 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000716/0.2517, allocations: 311 kB / 1.008 GB, free: 216 kB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004174/0.2521, allocations: 112.4 kB / 1.008 GB, free: 104 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/0.2522, allocations: 47.06 kB / 1.008 GB, free: 44 kB / 0.9636 GB Notification: Performance of pre-optimization done (n=59): time 2.735e-06/0.2522, allocations: 0 / 1.008 GB, free: 44 kB / 0.9636 GB Notification: Performance of matching and sorting (n=59): time 0.002685/0.2549, allocations: 0.9839 MB / 1.009 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.255, allocations: 63.91 kB / 1.009 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002968/0.2579, allocations: 1.705 MB / 1.011 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.258, allocations: 45.7 kB / 1.011 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.2591, allocations: 1.011 MB / 1.012 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.2594, allocations: 226.1 kB / 1.012 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004328/0.2598, allocations: 283.5 kB / 1.012 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.2601, allocations: 357.9 kB / 1.013 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008765/0.2609, allocations: 367.8 kB / 1.013 GB, free: 10.95 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.2627, allocations: 1.22 MB / 1.014 GB, free: 9.395 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00238/0.2651, allocations: 1.32 MB / 1.015 GB, free: 7.824 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/0.2651, allocations: 4 kB / 1.015 GB, free: 7.82 MB / 0.9792 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003264/0.2684, allocations: 1.523 MB / 1.017 GB, free: 6.293 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.2684, allocations: 16 kB / 1.017 GB, free: 6.277 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.2685, allocations: 16 kB / 1.017 GB, free: 6.262 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.952e-05/0.2685, allocations: 31.94 kB / 1.017 GB, free: 6.23 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.2698, allocations: 359.9 kB / 1.017 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.942e-05/0.2698, allocations: 39.84 kB / 1.017 GB, free: 5.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.2712, allocations: 171 kB / 1.018 GB, free: 5.672 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.2713, allocations: 68 kB / 1.018 GB, free: 5.605 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (171): * Single equations (assignments): 171 * 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.0008705/0.2722, allocations: 477.2 kB / 1.018 GB, free: 5.129 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005283/0.2727, allocations: 226.6 kB / 1.018 GB, free: 4.906 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.2748, allocations: 0.8583 MB / 1.019 GB, free: 4.047 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.2748, allocations: 12 kB / 1.019 GB, free: 4.035 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2748, allocations: 0 / 1.019 GB, free: 4.035 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001725/0.2766, allocations: 0.8017 MB / 1.02 GB, free: 3.184 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004735/0.2813, allocations: 2.129 MB / 1.022 GB, free: 0.9805 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.2813, allocations: 4 kB / 1.022 GB, free: 0.9766 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008508/0.2822, allocations: 175.7 kB / 1.022 GB, free: 0.8047 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.2822, allocations: 8.219 kB / 1.022 GB, free: 0.7969 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.255e-05/0.2822, allocations: 19.98 kB / 1.022 GB, free: 0.7773 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.2823, allocations: 8 kB / 1.022 GB, free: 0.7695 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.2823, allocations: 3.938 kB / 1.022 GB, free: 0.7656 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002949/0.2852, allocations: 1.361 MB / 1.024 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007272/0.2859, allocations: 278.7 kB / 1.024 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/0.2862, allocations: 15.98 kB / 1.024 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.2873, allocations: 67.88 kB / 1.024 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.2874, allocations: 52.36 kB / 1.024 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.005e-05/0.2875, allocations: 31.97 kB / 1.024 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002133/0.2896, allocations: 1.111 MB / 1.025 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.2896, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002468/0.2921, allocations: 0.7169 MB / 1.026 GB, free: 13.07 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.001412/0.2935, allocations: 0.601 MB / 1.026 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002386/0.2959, allocations: 0.8888 MB / 1.027 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.2959, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008485/0.2967, allocations: 342.8 kB / 1.028 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00479/0.3015, allocations: 0.9569 MB / 1.028 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006721/0.3083, allocations: 3.188 MB / 1.032 GB, free: 7.047 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/0.3097, allocations: 0.8767 MB / 1.032 GB, free: 6.137 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001683/0.3114, allocations: 349.8 kB / 1.033 GB, free: 5.797 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004513/0.3118, allocations: 148.4 kB / 1.033 GB, free: 5.652 MB / 0.9948 GB Notification: Performance of SimCode: time 1.233e-06/0.3118, allocations: 4 kB / 1.033 GB, free: 5.648 MB / 0.9948 GB Notification: Performance of Templates: time 0.5116/0.8234, allocations: 37.17 MB / 1.069 GB, free: 205.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.335648040985689]