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.001146/0.001146, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001478/0.002625, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007156/0.0007156, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009964/0.001712, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9911/0.9911, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08965/1.081, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.424/2.424, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.241/2.665, allocations: 145.9 MB / 0.817 GB, free: 4.207 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 1.833e-06/1.833e-06, allocations: 0 / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.447e-05, allocations: 4.703 kB / 0.8183 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01709/0.01711, allocations: 21.43 MB / 0.8393 GB, free: 13.35 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.03217, allocations: 11 MB / 0.85 GB, free: 2.324 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.03463, allocations: 166.6 kB / 0.8501 GB, free: 2.16 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.03597, allocations: 0.694 MB / 0.8508 GB, free: 1.461 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00478/0.04075, allocations: 2.498 MB / 0.8533 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.004826/0.04557, allocations: 2.747 MB / 0.8559 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.006688/0.05226, allocations: 6.82 MB / 0.8626 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002867/0.05513, allocations: 1.761 MB / 0.8643 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00515/0.06028, allocations: 3.478 MB / 0.8677 GB, free: 88 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.06261, allocations: 1.542 MB / 0.8692 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0004398/0.06305, allocations: 200 kB / 0.8694 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009984/0.06405, allocations: 411.5 kB / 0.8698 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004316/0.06448, allocations: 0.4902 MB / 0.8703 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0009717/0.06545, allocations: 0.7563 MB / 0.871 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.06764, allocations: 1.868 MB / 0.8729 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.75e-05/0.06766, allocations: 0 / 0.8729 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.112e-06/0.06766, allocations: 0 / 0.8729 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.569e-05/0.0677, allocations: 0 / 0.8729 GB, free: 10.82 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.003375/0.07108, allocations: 3.219 MB / 0.876 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.07111, allocations: 8.625 kB / 0.876 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005808/0.07169, allocations: 331.3 kB / 0.8763 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.0738, allocations: 1.431 MB / 0.8777 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.487e-05/0.07389, allocations: 114.7 kB / 0.8778 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.07408, allocations: 164 kB / 0.878 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.07565, allocations: 1.314 MB / 0.8793 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/0.07568, allocations: 0 / 0.8793 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.524e-05/0.07577, allocations: 56 kB / 0.8793 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.07582, allocations: 43.98 kB / 0.8794 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/0.07643, allocations: 391.4 kB / 0.8797 GB, free: 3.465 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.004569/0.081, allocations: 4.32 MB / 0.884 GB, free: 15 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.08139, allocations: 254.6 kB / 0.8842 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.08154, allocations: 120.8 kB / 0.8843 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.08165, allocations: 36.47 kB / 0.8844 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.08168, allocations: 47 kB / 0.8844 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 1.974e-06/0.08169, allocations: 0 / 0.8844 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.0005994/0.08229, allocations: 369.9 kB / 0.8847 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.08232, allocations: 59.89 kB / 0.8848 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.08359, allocations: 1.412 MB / 0.8862 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.08364, allocations: 49.7 kB / 0.8862 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/0.08411, allocations: 0.7558 MB / 0.887 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.08425, allocations: 230.1 kB / 0.8872 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/0.08452, allocations: 287.3 kB / 0.8875 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.08462, allocations: 365.8 kB / 0.8878 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.08489, allocations: 150.8 kB / 0.888 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007098/0.0856, allocations: 1.001 MB / 0.8889 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008688/0.08647, allocations: 0.9464 MB / 0.8899 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.08648, allocations: 4 kB / 0.8899 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001103/0.08758, allocations: 0.8571 MB / 0.8907 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.08761, allocations: 12.97 kB / 0.8907 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.08763, allocations: 20 kB / 0.8907 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.08765, allocations: 28 kB / 0.8908 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008122/0.08847, allocations: 367.5 kB / 0.8911 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-05/0.08849, allocations: 35.86 kB / 0.8911 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008258/0.08932, allocations: 158.9 kB / 0.8913 GB, free: 6.777 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.659e-05/0.0894, allocations: 59.98 kB / 0.8913 GB, free: 6.719 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.000281/0.08968, allocations: 212 kB / 0.8916 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.08983, allocations: 123.9 kB / 0.8917 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006034/0.09044, allocations: 447.1 kB / 0.8921 GB, free: 5.938 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.09045, allocations: 8 kB / 0.8921 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.09045, allocations: 0 / 0.8921 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000319/0.09077, allocations: 393.3 kB / 0.8925 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.09246, allocations: 1.334 MB / 0.8938 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.09247, allocations: 4 kB / 0.8938 GB, free: 4.098 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.09295, allocations: 167.8 kB / 0.8939 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.09328, allocations: 222.5 kB / 0.8942 GB, free: 3.715 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.09329, allocations: 7.938 kB / 0.8942 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.09332, allocations: 16.25 kB / 0.8942 GB, free: 3.691 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.09332, allocations: 15.94 kB / 0.8942 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.09333, allocations: 4 kB / 0.8942 GB, free: 3.672 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.09401, allocations: 0.651 MB / 0.8948 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.09415, allocations: 20 kB / 0.8949 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/0.09462, allocations: 51.83 kB / 0.8949 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.0947, allocations: 44.42 kB / 0.8949 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.09475, allocations: 31.97 kB / 0.895 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006532/0.09541, allocations: 0.6944 MB / 0.8957 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.09541, allocations: 4 kB / 0.8957 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001058/0.09646, allocations: 0.5496 MB / 0.8962 GB, free: 1.543 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.0003008/0.09676, allocations: 184.1 kB / 0.8964 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000649/0.09741, allocations: 0.5229 MB / 0.8969 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.644e-05/0.09745, allocations: 28.5 kB / 0.8969 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.09765, allocations: 169.8 kB / 0.8971 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.1001, allocations: 1.118 MB / 0.8982 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009069/0.1092, allocations: 2.906 MB / 0.901 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.1094, allocations: 336.6 kB / 0.9013 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000652/0.1101, allocations: 309.4 kB / 0.9016 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/0.1112, allocations: 0.657 MB / 0.9023 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of SimCode: time 9.02e-07/0.1112, allocations: 0 / 0.9023 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of Templates: time 0.04293/0.1541, allocations: 36.02 MB / 0.9374 GB, free: 8.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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.043613109737635]