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.0008511/0.0008511, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001314/0.002165, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007468/0.0007468, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000995/0.001742, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.045/1.045, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1156/1.161, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.58/2.58, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.305/2.885, allocations: 146 MB / 0.8176 GB, free: 3.809 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 2.074e-06/2.074e-06, allocations: 0 / 0.819 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.562e-05, allocations: 6.25 kB / 0.819 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01787/0.0179, allocations: 21.42 MB / 0.8399 GB, free: 12.93 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0181/0.036, allocations: 11.01 MB / 0.8506 GB, free: 1.902 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004795/0.04079, allocations: 170.6 kB / 0.8508 GB, free: 1.734 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.04315, allocations: 0.6979 MB / 0.8515 GB, free: 1.031 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007407/0.05056, allocations: 2.498 MB / 0.8539 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.005993/0.05655, allocations: 2.759 MB / 0.8566 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.009344/0.0659, allocations: 6.813 MB / 0.8633 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004379/0.07028, allocations: 1.748 MB / 0.865 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008596/0.07887, allocations: 3.431 MB / 0.8683 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003515/0.08239, allocations: 1.538 MB / 0.8698 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006444/0.08303, allocations: 204 kB / 0.87 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.08508, allocations: 415.4 kB / 0.8704 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004756/0.08556, allocations: 498 kB / 0.8709 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001689/0.08725, allocations: 0.7486 MB / 0.8716 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.09032, allocations: 1.872 MB / 0.8734 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.269e-05/0.09035, allocations: 0 / 0.8734 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.555e-06/0.09035, allocations: 4 kB / 0.8734 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.554e-05/0.09043, allocations: 0 / 0.8734 GB, free: 10.44 MB / 0.8542 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.004061/0.09449, allocations: 3.216 MB / 0.8766 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.09454, allocations: 8.031 kB / 0.8766 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006536/0.0952, allocations: 339.3 kB / 0.8769 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/0.09765, allocations: 1.415 MB / 0.8783 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.9e-05/0.09774, allocations: 118.7 kB / 0.8784 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.0979, allocations: 164 kB / 0.8786 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.09945, allocations: 1.314 MB / 0.8799 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.09948, allocations: 11.88 kB / 0.8799 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.526e-05/0.09955, allocations: 60 kB / 0.8799 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.609e-05/0.09962, allocations: 40 kB / 0.88 GB, free: 3.48 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005632/0.1002, allocations: 391.5 kB / 0.8803 GB, free: 3.082 MB / 0.8542 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.004911/0.1051, allocations: 4.312 MB / 0.8845 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.1057, allocations: 268 kB / 0.8848 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1058, allocations: 125 kB / 0.8849 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.1059, allocations: 32.48 kB / 0.885 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.106, allocations: 39.06 kB / 0.885 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 3.707e-06/0.106, allocations: 0 / 0.885 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.000648/0.1066, allocations: 373.8 kB / 0.8853 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.1067, allocations: 55.91 kB / 0.8854 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.1077, allocations: 1.42 MB / 0.8868 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.1078, allocations: 49.7 kB / 0.8868 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.1082, allocations: 0.7558 MB / 0.8876 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.1083, allocations: 226.1 kB / 0.8878 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.1086, allocations: 287.3 kB / 0.8881 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1087, allocations: 365.8 kB / 0.8884 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.1089, allocations: 150.8 kB / 0.8886 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.1095, allocations: 1.001 MB / 0.8895 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/0.1104, allocations: 0.9984 MB / 0.8905 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.1104, allocations: 4 kB / 0.8905 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001264/0.1117, allocations: 0.8619 MB / 0.8914 GB, free: 6.945 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.1117, allocations: 16.06 kB / 0.8914 GB, free: 6.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.1117, allocations: 16 kB / 0.8914 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.82e-05/0.1118, allocations: 28 kB / 0.8914 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/0.1124, allocations: 359.5 kB / 0.8918 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.366e-05/0.1125, allocations: 39.86 kB / 0.8918 GB, free: 6.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/0.1132, allocations: 162.8 kB / 0.8919 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.988e-05/0.1133, allocations: 63.98 kB / 0.892 GB, free: 6.273 MB / 0.8698 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.000379/0.1137, allocations: 216 kB / 0.8922 GB, free: 6.051 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.1138, allocations: 123.8 kB / 0.8923 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005498/0.1144, allocations: 440.2 kB / 0.8927 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.1144, allocations: 12 kB / 0.8928 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1144, allocations: 0 / 0.8928 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002649/0.1147, allocations: 385.2 kB / 0.8931 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.1163, allocations: 1.334 MB / 0.8944 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.1163, allocations: 0 / 0.8944 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.1167, allocations: 176 kB / 0.8946 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003513/0.1171, allocations: 226.6 kB / 0.8948 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.128e-06/0.1171, allocations: 7.938 kB / 0.8948 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.1171, allocations: 15.98 kB / 0.8948 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.1171, allocations: 8 kB / 0.8948 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1171, allocations: 7.984 kB / 0.8949 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006272/0.1178, allocations: 0.651 MB / 0.8955 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.1179, allocations: 16 kB / 0.8955 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.1182, allocations: 47.86 kB / 0.8955 GB, free: 2.465 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/0.1183, allocations: 56.34 kB / 0.8956 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.1184, allocations: 23.97 kB / 0.8956 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005633/0.1189, allocations: 0.7022 MB / 0.8963 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1189, allocations: 0 / 0.8963 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001139/0.1201, allocations: 0.5457 MB / 0.8968 GB, free: 1.109 MB / 0.8698 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.0003457/0.1204, allocations: 176 kB / 0.897 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006958/0.1211, allocations: 0.5419 MB / 0.8975 GB, free: 408 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-05/0.1211, allocations: 32.97 kB / 0.8976 GB, free: 376 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.1214, allocations: 227.8 kB / 0.8978 GB, free: 144 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003904/0.1253, allocations: 6.435 MB / 0.9041 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.1357, allocations: 2.906 MB / 0.9069 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.136, allocations: 336.5 kB / 0.9072 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001136/0.1371, allocations: 297.1 kB / 0.9075 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/0.1384, allocations: 0.6648 MB / 0.9082 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of SimCode: time 2.825e-06/0.1384, allocations: 0 / 0.9082 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of Templates: time 0.04709/0.1855, allocations: 35.98 MB / 0.9433 GB, free: 1.082 MB / 0.9167 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.7340375585481524]