Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Experimental.DHC.EnergyTransferStations.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_10_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor") translateModel(Buildings.Experimental.DHC.EnergyTransferStations.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_10_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.00169/0.00169, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.458/2.458, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 59.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7721/0.7734, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor): time 2.456/3.229, allocations: 1.017 GB / 2.184 GB, free: 91.36 MB / 1.576 GB Notification: Performance of NFInst.instExpressions: time 0.2211/3.451, allocations: 168 MB / 2.348 GB, free: 89.12 MB / 1.576 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03293/3.484, allocations: 0.7983 MB / 2.349 GB, free: 89.12 MB / 1.576 GB Notification: Performance of NFTyping.typeComponents: time 0.03241/3.516, allocations: 10.58 MB / 2.36 GB, free: 88.96 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.08433/3.6, allocations: 25.35 MB / 2.384 GB, free: 87.98 MB / 1.576 GB Notification: Performance of NFTyping.typeClassSections: time 0.04745/3.648, allocations: 18.64 MB / 2.403 GB, free: 80.73 MB / 1.576 GB Notification: Performance of NFFlatten.flatten: time 0.1075/3.755, allocations: 84.22 MB / 2.485 GB, free: 27.17 MB / 1.576 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04873/3.804, allocations: 27.45 MB / 2.512 GB, free: 15.87 MB / 1.592 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06729/3.871, allocations: 27.01 MB / 2.538 GB, free: 6.414 MB / 1.607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03613/3.908, allocations: 18.46 MB / 2.556 GB, free: 5.449 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.01028/3.918, allocations: 2.48 MB / 2.558 GB, free: 2.969 MB / 1.623 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03581/3.954, allocations: 10.28 MB / 2.568 GB, free: 9.23 MB / 1.639 GB Notification: Performance of NFScalarize.scalarize: time 0.0125/3.966, allocations: 7.039 MB / 2.575 GB, free: 2.293 MB / 1.639 GB Notification: Performance of NFVerifyModel.verify: time 0.03339/4, allocations: 14.64 MB / 2.59 GB, free: 3.691 MB / 1.654 GB Notification: Performance of NFConvertDAE.convert: time 0.0748/4.075, allocations: 44.05 MB / 2.633 GB, free: 8.812 MB / 1.701 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/4.075, allocations: 0 / 2.633 GB, free: 8.812 MB / 1.701 GB Notification: Performance of FrontEnd: time 2.715e-06/4.075, allocations: 0 / 2.633 GB, free: 8.812 MB / 1.701 GB Notification: Performance of Transformations before backend: time 0.001394/4.076, allocations: 0 / 2.633 GB, free: 8.812 MB / 1.701 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.07863/4.155, allocations: 27.68 MB / 2.66 GB, free: 13.16 MB / 1.732 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/4.155, allocations: 8.922 kB / 2.66 GB, free: 13.15 MB / 1.732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02192/4.177, allocations: 3.977 MB / 2.664 GB, free: 9.137 MB / 1.732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07414/4.251, allocations: 29.52 MB / 2.692 GB, free: 12.05 MB / 1.764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001532/4.252, allocations: 1.071 MB / 2.693 GB, free: 10.99 MB / 1.764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006329/4.259, allocations: 1.436 MB / 2.695 GB, free: 9.559 MB / 1.764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05797/4.317, allocations: 17.65 MB / 2.712 GB, free: 7.402 MB / 1.779 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007854/4.318, allocations: 35.66 kB / 2.712 GB, free: 7.367 MB / 1.779 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00501/4.323, allocations: 0.5803 MB / 2.713 GB, free: 6.793 MB / 1.779 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007823/4.324, allocations: 0.5295 MB / 2.713 GB, free: 6.258 MB / 1.779 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04088/4.364, allocations: 13.85 MB / 2.727 GB, free: 8.371 MB / 1.795 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.1573/4.522, allocations: 91.56 MB / 2.816 GB, free: 6.98 MB / 1.889 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01625/4.538, allocations: 5.893 MB / 2.822 GB, free: 1.082 MB / 1.889 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008189/4.546, allocations: 3.529 MB / 2.825 GB, free: 13.55 MB / 1.904 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.04714/4.594, allocations: 21.98 MB / 2.847 GB, free: 6.18 MB / 1.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/4.594, allocations: 115.9 kB / 2.847 GB, free: 6.059 MB / 1.92 GB Notification: Performance of pre-optimization done (n=524): time 9.628e-06/4.594, allocations: 0 / 2.847 GB, free: 6.059 MB / 1.92 GB Notification: Performance of matching and sorting (n=524): time 1.301/5.895, allocations: 10.02 MB / 2.857 GB, free: 0.9316 GB / 1.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/5.895, allocations: 292.6 kB / 2.857 GB, free: 0.9313 GB / 1.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04866/5.944, allocations: 23.19 MB / 2.88 GB, free: 0.924 GB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001528/5.946, allocations: 167.1 kB / 2.88 GB, free: 0.9239 GB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.01182/5.957, allocations: 11.16 MB / 2.891 GB, free: 0.9176 GB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002739/5.96, allocations: 1.934 MB / 2.893 GB, free: 0.9162 GB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004901/5.965, allocations: 2.475 MB / 2.895 GB, free: 0.9151 GB / 1.92 GB Notification: Performance of setup shared object (initialization): time 4.155e-05/5.965, allocations: 305.1 kB / 2.895 GB, free: 0.9148 GB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008579/5.974, allocations: 4.476 MB / 2.9 GB, free: 0.9132 GB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01293/5.987, allocations: 8.519 MB / 2.908 GB, free: 0.907 GB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01986/6.007, allocations: 12.34 MB / 2.92 GB, free: 0.8993 GB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/6.007, allocations: 31.62 kB / 2.92 GB, free: 0.8993 GB / 1.92 GB Notification: Performance of matching and sorting (n=1521) (initialization): time 0.03353/6.04, allocations: 14.73 MB / 2.934 GB, free: 0.8938 GB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.833e-05/6.04, allocations: 49.72 kB / 2.934 GB, free: 0.8938 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/6.041, allocations: 110.5 kB / 2.935 GB, free: 0.8938 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006036/6.041, allocations: 269.8 kB / 2.935 GB, free: 0.8937 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009759/6.051, allocations: 2.495 MB / 2.937 GB, free: 0.8935 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007709/6.052, allocations: 0.8366 MB / 2.938 GB, free: 0.8929 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0163/6.068, allocations: 1.63 MB / 2.94 GB, free: 0.8921 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/6.07, allocations: 0.5062 MB / 2.94 GB, free: 0.892 GB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01946/6.09, allocations: 10.14 MB / 2.95 GB, free: 0.886 GB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01141/6.101, allocations: 8.436 MB / 2.958 GB, free: 0.8761 GB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01893/6.12, allocations: 12.2 MB / 2.97 GB, free: 0.863 GB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001478/6.12, allocations: 32 kB / 2.97 GB, free: 0.863 GB / 1.92 GB Notification: Performance of matching and sorting (n=1521) (initialization_lambda0): time 0.03453/6.155, allocations: 14.55 MB / 2.984 GB, free: 0.8489 GB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/6.155, allocations: 52 kB / 2.984 GB, free: 0.8488 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001865/6.155, allocations: 104 kB / 2.985 GB, free: 0.8487 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004099/6.155, allocations: 219 kB / 2.985 GB, free: 0.8485 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009113/6.165, allocations: 2.46 MB / 2.987 GB, free: 0.8461 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/6.166, allocations: 2.142 MB / 2.989 GB, free: 0.8439 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01681/6.183, allocations: 1.237 MB / 2.991 GB, free: 0.8427 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001942/6.185, allocations: 0.5036 MB / 2.991 GB, free: 0.8422 GB / 1.92 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.003318/6.188, allocations: 0.8492 MB / 2.992 GB, free: 0.8414 GB / 1.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006523/6.195, allocations: 2.007 MB / 2.994 GB, free: 0.8394 GB / 1.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02386/6.219, allocations: 9.654 MB / 3.003 GB, free: 0.8302 GB / 1.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01422/6.233, allocations: 6.325 MB / 3.009 GB, free: 0.8241 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.967e-05/6.233, allocations: 0 / 3.009 GB, free: 0.8241 GB / 1.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01069/6.244, allocations: 3.399 MB / 3.013 GB, free: 0.8207 GB / 1.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006531/6.25, allocations: 124 kB / 3.013 GB, free: 0.8206 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01339/6.264, allocations: 0.5404 MB / 3.013 GB, free: 0.8201 GB / 1.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/6.265, allocations: 368.5 kB / 3.014 GB, free: 0.8198 GB / 1.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02299/6.288, allocations: 8.046 MB / 3.022 GB, free: 0.8121 GB / 1.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0281/6.316, allocations: 13.13 MB / 3.034 GB, free: 0.7992 GB / 1.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006612/6.323, allocations: 3.423 MB / 3.038 GB, free: 0.7958 GB / 1.92 GB Notification: Performance of sorting global known variables: time 0.03342/6.356, allocations: 15.95 MB / 3.053 GB, free: 0.7804 GB / 1.92 GB Notification: Performance of Backend: time 1.262e-06/6.356, allocations: 4 kB / 3.053 GB, free: 0.7804 GB / 1.92 GB Notification: Performance of simCode: created initialization part: time 0.04671/6.403, allocations: 17.17 MB / 3.07 GB, free: 0.7644 GB / 1.92 GB Notification: Performance of SimCode: time 0.1053/6.508, allocations: 50.62 MB / 3.12 GB, free: 0.7155 GB / 1.92 GB Notification: Performance of Templates: time 0.5637/7.072, allocations: 437.3 MB / 3.547 GB, free: 298.3 MB / 1.92 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor.sim & ./Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_EnergyTransferStations_BaseClasses_Validation_CollectorDistributor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches