Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001145/0.001145, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001709/0.002854, allocations: 449.7 kB / 10.37 MB, free: 328 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.001174/0.001174, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.002576, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9567/0.9567, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09127/1.048, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.835/1.835, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5007/2.336, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7293 GB, free: 4.488 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.537e-05, allocations: 7 kB / 0.7293 GB, free: 4.484 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.02075/0.02077, allocations: 21.17 MB / 0.75 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02025/0.04102, allocations: 9.015 MB / 0.7588 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005107/0.04613, allocations: 154.7 kB / 0.759 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.04872, allocations: 0.6786 MB / 0.7596 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.006509/0.05523, allocations: 2.447 MB / 0.762 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.0591, allocations: 2.039 MB / 0.764 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007134/0.06623, allocations: 6.671 MB / 0.7705 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/0.0689, allocations: 1.706 MB / 0.7722 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004219/0.07312, allocations: 3.385 MB / 0.7755 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.07478, allocations: 1.509 MB / 0.777 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.07499, allocations: 197.6 kB / 0.7772 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008099/0.0758, allocations: 403.5 kB / 0.7775 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.07613, allocations: 486.1 kB / 0.778 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0007991/0.07693, allocations: 0.7174 MB / 0.7787 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.07874, allocations: 1.794 MB / 0.7805 GB, free: 148 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.72e-05/0.07876, allocations: 1.219 kB / 0.7805 GB, free: 148 kB / 0.7448 GB Notification: Performance of FrontEnd: time 1.362e-06/0.07876, allocations: 0 / 0.7805 GB, free: 148 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.469e-05/0.07879, allocations: 0 / 0.7805 GB, free: 148 kB / 0.7448 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.002473/0.08126, allocations: 3.066 MB / 0.7835 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.0813, allocations: 12.03 kB / 0.7835 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004241/0.08172, allocations: 321.6 kB / 0.7838 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.08321, allocations: 1.346 MB / 0.7851 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.08327, allocations: 108.8 kB / 0.7852 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.0834, allocations: 152 kB / 0.7853 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.08447, allocations: 1.318 MB / 0.7866 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.0845, allocations: 3.938 kB / 0.7866 GB, free: 9.566 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.794e-05/0.08456, allocations: 60 kB / 0.7867 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.411e-05/0.08461, allocations: 40.53 kB / 0.7867 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/0.08508, allocations: 385.7 kB / 0.7871 GB, free: 9.078 MB / 0.7605 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.003417/0.0885, allocations: 4.235 MB / 0.7912 GB, free: 4.719 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.08881, allocations: 266.2 kB / 0.7915 GB, free: 4.449 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.08892, allocations: 109.1 kB / 0.7916 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.08902, allocations: 41.41 kB / 0.7916 GB, free: 4.301 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.08905, allocations: 43 kB / 0.7917 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=59): time 2.194e-06/0.08905, allocations: 0 / 0.7917 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of matching and sorting (n=59): time 0.0004531/0.0895, allocations: 362.5 kB / 0.792 GB, free: 3.895 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.08953, allocations: 60.41 kB / 0.7921 GB, free: 3.824 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000902/0.09044, allocations: 1.278 MB / 0.7933 GB, free: 2.543 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.09048, allocations: 41.7 kB / 0.7934 GB, free: 2.496 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.09079, allocations: 0.7238 MB / 0.7941 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.09091, allocations: 235.2 kB / 0.7943 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.09107, allocations: 222.7 kB / 0.7945 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.09116, allocations: 345.9 kB / 0.7948 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.09134, allocations: 130.4 kB / 0.795 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.09175, allocations: 0.7592 MB / 0.7957 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/0.09226, allocations: 0.6457 MB / 0.7963 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.09227, allocations: 4 kB / 0.7963 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0006558/0.09293, allocations: 0.6685 MB / 0.797 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.09295, allocations: 12 kB / 0.797 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.09296, allocations: 11.98 kB / 0.797 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.09297, allocations: 16 kB / 0.797 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/0.09348, allocations: 291.5 kB / 0.7973 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.0935, allocations: 23.92 kB / 0.7973 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/0.09394, allocations: 127.4 kB / 0.7974 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.09398, allocations: 36 kB / 0.7975 GB, free: 13.9 MB / 0.7761 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.0002108/0.09419, allocations: 180.3 kB / 0.7977 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.09431, allocations: 123.8 kB / 0.7978 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/0.09478, allocations: 441.8 kB / 0.7982 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.09479, allocations: 11.94 kB / 0.7982 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.09479, allocations: 0 / 0.7982 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002451/0.09504, allocations: 393.3 kB / 0.7986 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.09641, allocations: 1.298 MB / 0.7998 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.09641, allocations: 4 kB / 0.7998 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.09677, allocations: 176.1 kB / 0.8 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.09702, allocations: 206.6 kB / 0.8002 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.09702, allocations: 4 kB / 0.8002 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.09705, allocations: 16 kB / 0.8002 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.09705, allocations: 11.92 kB / 0.8002 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.09706, allocations: 7.938 kB / 0.8003 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/0.09759, allocations: 0.6423 MB / 0.8009 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.761e-05/0.09769, allocations: 16 kB / 0.8009 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.09802, allocations: 51.84 kB / 0.8009 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.0981, allocations: 56.34 kB / 0.801 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.09813, allocations: 19.98 kB / 0.801 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004763/0.09861, allocations: 0.6415 MB / 0.8016 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.09861, allocations: 0 / 0.8016 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008556/0.09947, allocations: 0.5262 MB / 0.8022 GB, free: 8.941 MB / 0.7761 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.0002828/0.09975, allocations: 176.1 kB / 0.8023 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.1002, allocations: 450.3 kB / 0.8028 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.938e-05/0.1002, allocations: 34.44 kB / 0.8028 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1004, allocations: 160.8 kB / 0.8029 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.1023, allocations: 1.1 MB / 0.804 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008914/0.1112, allocations: 2.761 MB / 0.8067 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.1114, allocations: 328.2 kB / 0.807 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000894/0.1123, allocations: 288.5 kB / 0.8073 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/0.1134, allocations: 0.6297 MB / 0.8079 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of SimCode: time 1.763e-06/0.1134, allocations: 0 / 0.8079 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of Templates: time 0.04067/0.154, allocations: 35.1 MB / 0.8422 GB, free: 0.6992 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger/Buildings_12_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: 5.607555899769068]