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.002004/0.002004, allocations: 110.7 kB / 16.42 MB, free: 6.5 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.002191/0.002191, allocations: 185.4 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.639/1.639, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.724/2.724, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002128, allocations: 63.89 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175/1.177, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.BaseClasses.Validation.CollectorDistributor): time 2.93/4.108, allocations: 1.017 GB / 2.225 GB, free: 136.6 MB / 1.607 GB Notification: Performance of NFInst.instExpressions: time 0.2224/4.33, allocations: 167.9 MB / 2.389 GB, free: 133.2 MB / 1.607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0392/4.369, allocations: 0.7992 MB / 2.39 GB, free: 133.2 MB / 1.607 GB Notification: Performance of NFTyping.typeComponents: time 0.03606/4.405, allocations: 10.35 MB / 2.4 GB, free: 130.7 MB / 1.607 GB Notification: Performance of NFTyping.typeBindings: time 0.07242/4.478, allocations: 24.14 MB / 2.424 GB, free: 121.9 MB / 1.607 GB Notification: Performance of NFTyping.typeClassSections: time 0.04621/4.524, allocations: 18.53 MB / 2.442 GB, free: 110.4 MB / 1.607 GB Notification: Performance of NFFlatten.flatten: time 0.119/4.643, allocations: 84.12 MB / 2.524 GB, free: 43.91 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.048/4.691, allocations: 27.45 MB / 2.551 GB, free: 16.62 MB / 1.607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05787/4.749, allocations: 26.92 MB / 2.577 GB, free: 7.25 MB / 1.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03656/4.786, allocations: 18.46 MB / 2.595 GB, free: 6.258 MB / 1.639 GB Notification: Performance of NFPackage.collectConstants: time 0.01257/4.798, allocations: 2.48 MB / 2.597 GB, free: 3.777 MB / 1.639 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03839/4.837, allocations: 10.28 MB / 2.608 GB, free: 10.05 MB / 1.654 GB Notification: Performance of NFScalarize.scalarize: time 0.01348/4.85, allocations: 7.042 MB / 2.614 GB, free: 3.082 MB / 1.654 GB Notification: Performance of NFVerifyModel.verify: time 0.03565/4.886, allocations: 14.63 MB / 2.629 GB, free: 4.488 MB / 1.67 GB Notification: Performance of NFConvertDAE.convert: time 0.08787/4.974, allocations: 43.27 MB / 2.671 GB, free: 10.39 MB / 1.717 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/4.974, allocations: 3.938 kB / 2.671 GB, free: 10.38 MB / 1.717 GB Notification: Performance of FrontEnd: time 2.955e-06/4.974, allocations: 4 kB / 2.671 GB, free: 10.38 MB / 1.717 GB Notification: Performance of Transformations before backend: time 0.001839/4.976, allocations: 4 kB / 2.671 GB, free: 10.38 MB / 1.717 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.08643/5.062, allocations: 27.64 MB / 2.698 GB, free: 14.74 MB / 1.748 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/5.062, allocations: 8.031 kB / 2.698 GB, free: 14.73 MB / 1.748 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02139/5.084, allocations: 3.973 MB / 2.702 GB, free: 10.73 MB / 1.748 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06606/5.15, allocations: 29.48 MB / 2.731 GB, free: 13.68 MB / 1.779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001416/5.151, allocations: 1.072 MB / 2.732 GB, free: 12.61 MB / 1.779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005653/5.157, allocations: 1.435 MB / 2.733 GB, free: 11.18 MB / 1.779 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05201/5.209, allocations: 17.64 MB / 2.75 GB, free: 9.031 MB / 1.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006108/5.21, allocations: 39.64 kB / 2.75 GB, free: 8.992 MB / 1.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004233/5.214, allocations: 0.5758 MB / 2.751 GB, free: 8.422 MB / 1.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00053/5.214, allocations: 0.5335 MB / 2.751 GB, free: 7.883 MB / 1.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03702/5.251, allocations: 13.85 MB / 2.765 GB, free: 10 MB / 1.811 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.1545/5.406, allocations: 91.5 MB / 2.854 GB, free: 8.691 MB / 1.904 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01573/5.422, allocations: 5.898 MB / 2.86 GB, free: 2.789 MB / 1.904 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008291/5.43, allocations: 3.521 MB / 2.863 GB, free: 15.27 MB / 1.92 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.04625/5.476, allocations: 21.91 MB / 2.885 GB, free: 7.961 MB / 1.936 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/5.477, allocations: 115.9 kB / 2.885 GB, free: 7.836 MB / 1.936 GB Notification: Performance of pre-optimization done (n=524): time 9.728e-06/5.477, allocations: 0 / 2.885 GB, free: 7.836 MB / 1.936 GB Notification: Performance of matching and sorting (n=524): time 0.9399/6.416, allocations: 10.02 MB / 2.895 GB, free: 0.9151 GB / 1.936 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001954/6.417, allocations: 293.8 kB / 2.895 GB, free: 0.9148 GB / 1.936 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0707/6.487, allocations: 23.19 MB / 2.918 GB, free: 0.9079 GB / 1.936 GB Notification: Performance of collectPreVariables (initialization): time 0.001904/6.489, allocations: 168.9 kB / 2.918 GB, free: 0.9078 GB / 1.936 GB Notification: Performance of collectInitialEqns (initialization): time 0.01503/6.504, allocations: 11.16 MB / 2.929 GB, free: 0.9018 GB / 1.936 GB Notification: Performance of collectInitialBindings (initialization): time 0.003539/6.508, allocations: 1.938 MB / 2.931 GB, free: 0.9008 GB / 1.936 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005002/6.513, allocations: 2.483 MB / 2.933 GB, free: 0.8997 GB / 1.936 GB Notification: Performance of setup shared object (initialization): time 5.599e-05/6.513, allocations: 301.1 kB / 2.933 GB, free: 0.8994 GB / 1.936 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007899/6.521, allocations: 4.477 MB / 2.938 GB, free: 0.8978 GB / 1.936 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/6.532, allocations: 8.524 MB / 2.946 GB, free: 0.8916 GB / 1.936 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01888/6.551, allocations: 12.35 MB / 2.958 GB, free: 0.8839 GB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001642/6.551, allocations: 32.5 kB / 2.958 GB, free: 0.8839 GB / 1.936 GB Notification: Performance of matching and sorting (n=1521) (initialization): time 0.041/6.592, allocations: 14.72 MB / 2.973 GB, free: 0.8784 GB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001983/6.592, allocations: 50.69 kB / 2.973 GB, free: 0.8784 GB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002719/6.593, allocations: 105.8 kB / 2.973 GB, free: 0.8784 GB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008485/6.594, allocations: 270.1 kB / 2.973 GB, free: 0.8783 GB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009878/6.604, allocations: 2.495 MB / 2.975 GB, free: 0.8781 GB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009495/6.605, allocations: 0.8368 MB / 2.976 GB, free: 0.8775 GB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01953/6.624, allocations: 1.627 MB / 2.978 GB, free: 0.8767 GB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002711/6.627, allocations: 0.5105 MB / 2.978 GB, free: 0.8766 GB / 1.936 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02287/6.65, allocations: 10.14 MB / 2.988 GB, free: 0.8726 GB / 1.936 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01352/6.663, allocations: 8.433 MB / 2.996 GB, free: 0.8657 GB / 1.936 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02032/6.684, allocations: 12.2 MB / 3.008 GB, free: 0.8552 GB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001792/6.684, allocations: 28 kB / 3.008 GB, free: 0.8552 GB / 1.936 GB Notification: Performance of matching and sorting (n=1521) (initialization_lambda0): time 0.0394/6.723, allocations: 14.55 MB / 3.023 GB, free: 0.8411 GB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001826/6.724, allocations: 51.94 kB / 3.023 GB, free: 0.841 GB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002807/6.724, allocations: 110.8 kB / 3.023 GB, free: 0.8409 GB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000461/6.724, allocations: 219.3 kB / 3.023 GB, free: 0.8407 GB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01047/6.735, allocations: 2.461 MB / 3.025 GB, free: 0.8383 GB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/6.737, allocations: 2.138 MB / 3.027 GB, free: 0.8361 GB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02125/6.758, allocations: 1.243 MB / 3.029 GB, free: 0.8349 GB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002704/6.761, allocations: 0.4997 MB / 3.029 GB, free: 0.8344 GB / 1.936 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.004784/6.766, allocations: 0.8336 MB / 3.03 GB, free: 0.8336 GB / 1.936 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009083/6.775, allocations: 2.014 MB / 3.032 GB, free: 0.8316 GB / 1.936 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02798/6.803, allocations: 9.614 MB / 3.041 GB, free: 0.8223 GB / 1.936 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01531/6.818, allocations: 6.312 MB / 3.047 GB, free: 0.8162 GB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.089e-05/6.818, allocations: 4 kB / 3.047 GB, free: 0.8161 GB / 1.936 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01383/6.832, allocations: 3.383 MB / 3.051 GB, free: 0.8128 GB / 1.936 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008781/6.841, allocations: 135.7 kB / 3.051 GB, free: 0.8127 GB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01487/6.856, allocations: 0.525 MB / 3.051 GB, free: 0.8122 GB / 1.936 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001426/6.858, allocations: 372.1 kB / 3.052 GB, free: 0.8118 GB / 1.936 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02436/6.882, allocations: 8.048 MB / 3.06 GB, free: 0.8041 GB / 1.936 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03163/6.914, allocations: 13.13 MB / 3.072 GB, free: 0.7913 GB / 1.936 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007041/6.921, allocations: 3.423 MB / 3.076 GB, free: 0.7879 GB / 1.936 GB Notification: Performance of sorting global known variables: time 0.03576/6.956, allocations: 15.96 MB / 3.091 GB, free: 0.7725 GB / 1.936 GB Notification: Performance of Backend: time 1.393e-06/6.957, allocations: 0 / 3.091 GB, free: 0.7725 GB / 1.936 GB Notification: Performance of simCode: created initialization part: time 0.05527/7.012, allocations: 17.05 MB / 3.108 GB, free: 0.7565 GB / 1.936 GB Notification: Performance of SimCode: time 0.1183/7.13, allocations: 50.62 MB / 3.157 GB, free: 0.7077 GB / 1.936 GB Notification: Performance of Templates: time 0.608/7.738, allocations: 433.6 MB / 3.581 GB, free: 293.7 MB / 1.936 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