Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senT1_1Sup.T|senT1_1Ret.T|senT2_1Sup.T|senT2_1Ret.T|senT2_2Sup.T|senT2_2Ret.T|senMasFlo1_1.m_flow|senMasFlo2_1.m_flow|senMasFlo2_2.m_flow|senT1_2Sup.T|senT1_2Ret.T|senT2_3Sup.T|senT2_3Ret.T|senT2_4Sup.T|senT2_4Ret.T|senMasFlo1_2.m_flow|senMasFlo2_3.m_flow|senMasFlo2_4.m_flow|senT1_3Sup.T|senT1_3Ret.T|senT2_5Sup.T|senT2_5Ret.T|senT2_6Sup.T|senT2_6Ret.T|senMasFlo1_3.m_flow|senMasFlo2_5.m_flow|senMasFlo2_6.m_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor") translateModel(Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senT1_1Sup.T|senT1_1Ret.T|senT2_1Sup.T|senT2_1Ret.T|senT2_2Sup.T|senT2_2Ret.T|senMasFlo1_1.m_flow|senMasFlo2_1.m_flow|senMasFlo2_2.m_flow|senT1_2Sup.T|senT1_2Ret.T|senT2_3Sup.T|senT2_3Ret.T|senT2_4Sup.T|senT2_4Ret.T|senMasFlo1_2.m_flow|senMasFlo2_3.m_flow|senMasFlo2_4.m_flow|senT1_3Sup.T|senT1_3Ret.T|senT2_5Sup.T|senT2_5Ret.T|senT2_6Sup.T|senT2_6Ret.T|senMasFlo1_3.m_flow|senMasFlo2_5.m_flow|senMasFlo2_6.m_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001347, allocations: 119.6 kB / 16.42 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 190.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 469.4 MB / 0.7428 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.00141, allocations: 63.91 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.026, allocations: 159.1 MB / 1.221 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor): time 3.018/4.045, allocations: 1.017 GB / 2.238 GB, free: 152.4 MB / 1.654 GB Notification: Performance of NFInst.instExpressions: time 0.2512/4.296, allocations: 167.9 MB / 2.402 GB, free: 150.2 MB / 1.654 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04454/4.341, allocations: 0.7964 MB / 2.402 GB, free: 150.2 MB / 1.654 GB Notification: Performance of NFTyping.typeComponents: time 0.04444/4.385, allocations: 10.57 MB / 2.413 GB, free: 150.1 MB / 1.654 GB Notification: Performance of NFTyping.typeBindings: time 0.08904/4.474, allocations: 25.35 MB / 2.438 GB, free: 143.5 MB / 1.654 GB Notification: Performance of NFTyping.typeClassSections: time 0.05892/4.533, allocations: 18.63 MB / 2.456 GB, free: 132 MB / 1.654 GB Notification: Performance of NFFlatten.flatten: time 0.1297/4.663, allocations: 84.23 MB / 2.538 GB, free: 67.19 MB / 1.654 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06165/4.725, allocations: 27.45 MB / 2.565 GB, free: 39.9 MB / 1.654 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07096/4.796, allocations: 27.01 MB / 2.591 GB, free: 14.45 MB / 1.654 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03859/4.834, allocations: 18.46 MB / 2.609 GB, free: 13.48 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.01397/4.848, allocations: 2.484 MB / 2.612 GB, free: 10.99 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0436/4.892, allocations: 10.29 MB / 2.622 GB, free: 1.254 MB / 1.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01601/4.908, allocations: 7.04 MB / 2.629 GB, free: 10.31 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.0428/4.951, allocations: 14.63 MB / 2.643 GB, free: 11.71 MB / 1.701 GB Notification: Performance of NFConvertDAE.convert: time 0.1015/5.052, allocations: 43.27 MB / 2.685 GB, free: 1.617 MB / 1.732 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/5.052, allocations: 0 / 2.685 GB, free: 1.617 MB / 1.732 GB Notification: Performance of FrontEnd: time 2.294e-06/5.052, allocations: 0 / 2.685 GB, free: 1.617 MB / 1.732 GB Notification: Performance of Transformations before backend: time 0.001919/5.054, allocations: 0 / 2.685 GB, free: 1.617 MB / 1.732 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3550 * Number of variables: 3550 Notification: Performance of Generate backend data structure: time 0.09813/5.152, allocations: 27.64 MB / 2.712 GB, free: 5.984 MB / 1.764 GB Notification: Performance of prepare preOptimizeDAE: time 6.424e-05/5.153, allocations: 16.58 kB / 2.712 GB, free: 5.969 MB / 1.764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02473/5.177, allocations: 3.973 MB / 2.716 GB, free: 1.961 MB / 1.764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08097/5.258, allocations: 29.46 MB / 2.745 GB, free: 4.93 MB / 1.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002306/5.261, allocations: 1.074 MB / 2.746 GB, free: 3.863 MB / 1.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008666/5.269, allocations: 1.438 MB / 2.747 GB, free: 2.43 MB / 1.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07116/5.341, allocations: 17.64 MB / 2.764 GB, free: 288 kB / 1.811 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009535/5.342, allocations: 39.64 kB / 2.764 GB, free: 248 kB / 1.811 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005981/5.348, allocations: 0.58 MB / 2.765 GB, free: 15.67 MB / 1.826 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00076/5.348, allocations: 0.5295 MB / 2.766 GB, free: 15.14 MB / 1.826 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04691/5.395, allocations: 13.85 MB / 2.779 GB, free: 1.258 MB / 1.826 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.1934/5.589, allocations: 91.51 MB / 2.868 GB, free: 15.92 MB / 1.936 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01798/5.607, allocations: 5.891 MB / 2.874 GB, free: 10.03 MB / 1.936 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009694/5.617, allocations: 3.525 MB / 2.878 GB, free: 6.504 MB / 1.936 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 evalFunc (simulation): time 0.05905/5.676, allocations: 21.91 MB / 2.899 GB, free: 15.2 MB / 1.967 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/5.676, allocations: 111.9 kB / 2.899 GB, free: 15.08 MB / 1.967 GB Notification: Performance of pre-optimization done (n=524): time 1.578e-05/5.676, allocations: 0 / 2.899 GB, free: 15.08 MB / 1.967 GB Notification: Performance of matching and sorting (n=524): time 0.03909/5.715, allocations: 10.03 MB / 2.909 GB, free: 4.984 MB / 1.967 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002391/5.715, allocations: 288.1 kB / 2.909 GB, free: 4.645 MB / 1.967 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.191/6.906, allocations: 23.19 MB / 2.932 GB, free: 0.9295 GB / 1.967 GB Notification: Performance of collectPreVariables (initialization): time 0.002131/6.908, allocations: 167.7 kB / 2.932 GB, free: 0.9294 GB / 1.967 GB Notification: Performance of collectInitialEqns (initialization): time 0.01603/6.924, allocations: 11.17 MB / 2.943 GB, free: 0.9234 GB / 1.967 GB Notification: Performance of collectInitialBindings (initialization): time 0.003857/6.928, allocations: 1.929 MB / 2.945 GB, free: 0.9224 GB / 1.967 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007332/6.936, allocations: 2.489 MB / 2.947 GB, free: 0.9213 GB / 1.967 GB Notification: Performance of setup shared object (initialization): time 5.857e-05/6.936, allocations: 301.1 kB / 2.948 GB, free: 0.921 GB / 1.967 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01041/6.946, allocations: 4.472 MB / 2.952 GB, free: 0.9195 GB / 1.967 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01505/6.961, allocations: 8.525 MB / 2.96 GB, free: 0.9132 GB / 1.967 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02159/6.983, allocations: 12.34 MB / 2.972 GB, free: 0.9056 GB / 1.967 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001587/6.983, allocations: 32.75 kB / 2.972 GB, free: 0.9055 GB / 1.967 GB Notification: Performance of matching and sorting (n=1521) (initialization): time 0.04123/7.024, allocations: 14.72 MB / 2.987 GB, free: 0.9 GB / 1.967 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/7.024, allocations: 50 kB / 2.987 GB, free: 0.9 GB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002393/7.025, allocations: 104.1 kB / 2.987 GB, free: 0.9 GB / 1.967 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008466/7.026, allocations: 273.7 kB / 2.987 GB, free: 0.9 GB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01148/7.037, allocations: 2.493 MB / 2.99 GB, free: 0.8997 GB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009208/7.038, allocations: 0.8403 MB / 2.99 GB, free: 0.8991 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02099/7.059, allocations: 1.63 MB / 2.992 GB, free: 0.8983 GB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002839/7.062, allocations: 0.5022 MB / 2.992 GB, free: 0.8982 GB / 1.967 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02607/7.088, allocations: 10.15 MB / 3.002 GB, free: 0.8942 GB / 1.967 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02089/7.109, allocations: 8.439 MB / 3.011 GB, free: 0.8879 GB / 1.967 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02543/7.135, allocations: 12.2 MB / 3.022 GB, free: 0.8803 GB / 1.967 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002011/7.135, allocations: 30.62 kB / 3.023 GB, free: 0.8803 GB / 1.967 GB Notification: Performance of matching and sorting (n=1521) (initialization_lambda0): time 0.04426/7.179, allocations: 14.53 MB / 3.037 GB, free: 0.8685 GB / 1.967 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002178/7.179, allocations: 59.91 kB / 3.037 GB, free: 0.8685 GB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002476/7.18, allocations: 111.8 kB / 3.037 GB, free: 0.8684 GB / 1.967 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000531/7.18, allocations: 216.8 kB / 3.037 GB, free: 0.8682 GB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01073/7.191, allocations: 2.468 MB / 3.039 GB, free: 0.8658 GB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/7.193, allocations: 2.128 MB / 3.042 GB, free: 0.8636 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02279/7.216, allocations: 1.241 MB / 3.043 GB, free: 0.8624 GB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003296/7.219, allocations: 0.4999 MB / 3.043 GB, free: 0.8619 GB / 1.967 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * Number of states: 0 () * Number of discrete variables: 6 (conTChiWat6.con1.y,conTChiWat5.con1.y,conTChiWat4.con1.y,conTChiWat3.con1.y,conTChiWat2.con1.y,conTChiWat1.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1315): * Single equations (assignments): 1302 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.007677/7.227, allocations: 0.8374 MB / 3.044 GB, free: 0.861 GB / 1.967 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01391/7.241, allocations: 2.014 MB / 3.046 GB, free: 0.8591 GB / 1.967 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03707/7.278, allocations: 9.623 MB / 3.055 GB, free: 0.8498 GB / 1.967 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01928/7.297, allocations: 6.312 MB / 3.062 GB, free: 0.8436 GB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-05/7.297, allocations: 0 / 3.062 GB, free: 0.8436 GB / 1.967 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01518/7.313, allocations: 3.391 MB / 3.065 GB, free: 0.8403 GB / 1.967 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01014/7.323, allocations: 124 kB / 3.065 GB, free: 0.8402 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01899/7.342, allocations: 0.5369 MB / 3.066 GB, free: 0.8397 GB / 1.967 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002016/7.344, allocations: 364.6 kB / 3.066 GB, free: 0.8393 GB / 1.967 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0262/7.37, allocations: 8.055 MB / 3.074 GB, free: 0.8316 GB / 1.967 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03672/7.407, allocations: 13.12 MB / 3.087 GB, free: 0.8187 GB / 1.967 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007871/7.415, allocations: 3.424 MB / 3.09 GB, free: 0.8154 GB / 1.967 GB Notification: Performance of sorting global known variables: time 0.04088/7.456, allocations: 15.96 MB / 3.106 GB, free: 0.7999 GB / 1.967 GB Notification: Performance of Backend: time 1.383e-06/7.456, allocations: 0 / 3.106 GB, free: 0.7999 GB / 1.967 GB Notification: Performance of simCode: created initialization part: time 0.06379/7.52, allocations: 17.05 MB / 3.122 GB, free: 0.784 GB / 1.967 GB Notification: Performance of SimCode: time 0.142/7.662, allocations: 50.62 MB / 3.172 GB, free: 0.7352 GB / 1.967 GB Notification: Performance of Templates: time 0.66/8.322, allocations: 433.6 MB / 3.595 GB, free: 322 MB / 1.967 GB make -j1 -f Buildings_latest_Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor.makefile (rm -f Buildings_latest_Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor.pipe ; mkfifo Buildings_latest_Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor.pipe >> ../files/Buildings_latest_Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor.sim & ./Buildings_latest_Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_ETS_BaseClasses_Validation_CollectorDistributor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches