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.001453/0.001453, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001575/0.001575, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.468/2.468, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 59.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7619, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.Validation.CollectorDistributor): time 2.512/3.274, allocations: 1.017 GB / 2.184 GB, free: 91.21 MB / 1.576 GB Notification: Performance of NFInst.instExpressions: time 0.2142/3.488, allocations: 168 MB / 2.348 GB, free: 89.01 MB / 1.576 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03474/3.523, allocations: 0.7995 MB / 2.349 GB, free: 89.01 MB / 1.576 GB Notification: Performance of NFTyping.typeComponents: time 0.03168/3.554, allocations: 10.57 MB / 2.36 GB, free: 88.84 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.07312/3.628, allocations: 25.34 MB / 2.384 GB, free: 87.86 MB / 1.576 GB Notification: Performance of NFTyping.typeClassSections: time 0.04425/3.672, allocations: 18.63 MB / 2.402 GB, free: 80.73 MB / 1.576 GB Notification: Performance of NFFlatten.flatten: time 0.1033/3.775, allocations: 84.2 MB / 2.485 GB, free: 27.19 MB / 1.576 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04215/3.817, allocations: 27.42 MB / 2.512 GB, free: 15.93 MB / 1.592 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0608/3.878, allocations: 26.97 MB / 2.538 GB, free: 6.508 MB / 1.607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03325/3.911, allocations: 18.45 MB / 2.556 GB, free: 5.551 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.01113/3.923, allocations: 2.484 MB / 2.558 GB, free: 3.066 MB / 1.623 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0381/3.961, allocations: 10.29 MB / 2.568 GB, free: 9.324 MB / 1.639 GB Notification: Performance of NFScalarize.scalarize: time 0.01219/3.973, allocations: 7.043 MB / 2.575 GB, free: 2.379 MB / 1.639 GB Notification: Performance of NFVerifyModel.verify: time 0.03072/4.004, allocations: 14.63 MB / 2.59 GB, free: 3.785 MB / 1.654 GB Notification: Performance of NFConvertDAE.convert: time 0.07828/4.082, allocations: 44.2 MB / 2.633 GB, free: 8.727 MB / 1.701 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/4.082, allocations: 3.938 kB / 2.633 GB, free: 8.723 MB / 1.701 GB Notification: Performance of FrontEnd: time 2.264e-06/4.082, allocations: 4 kB / 2.633 GB, free: 8.719 MB / 1.701 GB Notification: Performance of Transformations before backend: time 0.001434/4.084, allocations: 0 / 2.633 GB, free: 8.719 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.07716/4.161, allocations: 28.51 MB / 2.661 GB, free: 12.39 MB / 1.732 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/4.161, allocations: 8.922 kB / 2.661 GB, free: 12.39 MB / 1.732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02052/4.181, allocations: 4.109 MB / 2.665 GB, free: 8.262 MB / 1.732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06053/4.242, allocations: 29.72 MB / 2.694 GB, free: 10.99 MB / 1.764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001316/4.243, allocations: 1.069 MB / 2.695 GB, free: 9.93 MB / 1.764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005082/4.248, allocations: 1.441 MB / 2.696 GB, free: 8.496 MB / 1.764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04819/4.297, allocations: 17.64 MB / 2.713 GB, free: 6.352 MB / 1.779 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005629/4.297, allocations: 39.45 kB / 2.713 GB, free: 6.316 MB / 1.779 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003521/4.301, allocations: 0.575 MB / 2.714 GB, free: 5.746 MB / 1.779 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004826/4.301, allocations: 0.5296 MB / 2.714 GB, free: 5.211 MB / 1.779 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03479/4.336, allocations: 13.85 MB / 2.728 GB, free: 7.332 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.1378/4.474, allocations: 91.76 MB / 2.817 GB, free: 5.75 MB / 1.889 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01485/4.489, allocations: 5.896 MB / 2.823 GB, free: 15.85 MB / 1.904 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007771/4.497, allocations: 3.525 MB / 2.827 GB, free: 12.32 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.04463/4.541, allocations: 22 MB / 2.848 GB, free: 4.918 MB / 1.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/4.541, allocations: 107.9 kB / 2.848 GB, free: 4.805 MB / 1.92 GB Notification: Performance of pre-optimization done (n=524): time 9.879e-06/4.541, allocations: 4 kB / 2.848 GB, free: 4.801 MB / 1.92 GB Notification: Performance of matching and sorting (n=524): time 1.102/5.643, allocations: 10.13 MB / 2.858 GB, free: 411.9 MB / 1.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/5.643, allocations: 292.7 kB / 2.858 GB, free: 411.6 MB / 1.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05396/5.697, allocations: 23.21 MB / 2.881 GB, free: 410.6 MB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001667/5.699, allocations: 170 kB / 2.881 GB, free: 410.5 MB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.01402/5.713, allocations: 11.33 MB / 2.892 GB, free: 409.7 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.003452/5.717, allocations: 2.024 MB / 2.894 GB, free: 408.6 MB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004952/5.722, allocations: 2.494 MB / 2.897 GB, free: 408.4 MB / 1.92 GB Notification: Performance of setup shared object (initialization): time 4.976e-05/5.722, allocations: 302.9 kB / 2.897 GB, free: 408.1 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008754/5.73, allocations: 4.474 MB / 2.901 GB, free: 408.1 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/5.743, allocations: 8.52 MB / 2.91 GB, free: 403.5 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02162/5.765, allocations: 12.34 MB / 2.922 GB, free: 399.6 MB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002466/5.765, allocations: 31.88 kB / 2.922 GB, free: 399.6 MB / 1.92 GB Notification: Performance of matching and sorting (n=1521) (initialization): time 0.03805/5.804, allocations: 14.84 MB / 2.936 GB, free: 398.2 MB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001588/5.804, allocations: 52.72 kB / 2.936 GB, free: 398.2 MB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002213/5.804, allocations: 104.2 kB / 2.936 GB, free: 398.2 MB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007203/5.805, allocations: 270.7 kB / 2.937 GB, free: 398.2 MB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/5.815, allocations: 2.492 MB / 2.939 GB, free: 398.2 MB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008711/5.816, allocations: 0.8368 MB / 2.94 GB, free: 397.6 MB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01791/5.834, allocations: 1.669 MB / 2.942 GB, free: 397 MB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002729/5.836, allocations: 0.5007 MB / 2.942 GB, free: 397 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0232/5.86, allocations: 10.15 MB / 2.952 GB, free: 396.9 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01336/5.873, allocations: 8.448 MB / 2.96 GB, free: 392.1 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02014/5.893, allocations: 12.19 MB / 2.972 GB, free: 387.9 MB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000234/5.893, allocations: 33.25 kB / 2.972 GB, free: 387.9 MB / 1.92 GB Notification: Performance of matching and sorting (n=1521) (initialization_lambda0): time 0.03455/5.928, allocations: 14.64 MB / 2.986 GB, free: 386.4 MB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/5.928, allocations: 51.66 kB / 2.987 GB, free: 386.4 MB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/5.928, allocations: 112.6 kB / 2.987 GB, free: 386.4 MB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/5.929, allocations: 226.2 kB / 2.987 GB, free: 386.4 MB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008793/5.937, allocations: 2.453 MB / 2.989 GB, free: 386.4 MB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/5.939, allocations: 2.143 MB / 2.991 GB, free: 384.8 MB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01603/5.955, allocations: 1.26 MB / 2.993 GB, free: 384.4 MB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001675/5.957, allocations: 0.5052 MB / 2.993 GB, free: 384.4 MB / 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.003527/5.96, allocations: 0.8393 MB / 2.994 GB, free: 384.2 MB / 1.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007108/5.968, allocations: 2.113 MB / 2.996 GB, free: 383 MB / 1.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02207/5.99, allocations: 9.651 MB / 3.005 GB, free: 382.4 MB / 1.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01243/6.002, allocations: 6.319 MB / 3.012 GB, free: 382.1 MB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.34e-05/6.002, allocations: 3.938 kB / 3.012 GB, free: 382.1 MB / 1.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01039/6.013, allocations: 3.502 MB / 3.015 GB, free: 380.8 MB / 1.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008489/6.021, allocations: 129.7 kB / 3.015 GB, free: 380.8 MB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01221/6.033, allocations: 0.5368 MB / 3.016 GB, free: 380.7 MB / 1.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008503/6.034, allocations: 371.4 kB / 3.016 GB, free: 380.7 MB / 1.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01869/6.053, allocations: 8.054 MB / 3.024 GB, free: 380.2 MB / 1.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02741/6.08, allocations: 13.23 MB / 3.037 GB, free: 375.6 MB / 1.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006387/6.087, allocations: 3.432 MB / 3.04 GB, free: 373.9 MB / 1.92 GB Notification: Performance of sorting global known variables: time 0.02826/6.115, allocations: 15.96 MB / 3.056 GB, free: 361.3 MB / 1.92 GB Notification: Performance of Backend: time 9.32e-07/6.115, allocations: 4.75 kB / 3.056 GB, free: 361.3 MB / 1.92 GB Notification: Performance of simCode: created initialization part: time 0.04222/6.157, allocations: 17.19 MB / 3.072 GB, free: 347.1 MB / 1.92 GB Notification: Performance of SimCode: time 0.1099/6.267, allocations: 51.34 MB / 3.123 GB, free: 301.3 MB / 1.92 GB Notification: Performance of Templates: time 0.6384/6.906, allocations: 437.3 MB / 3.55 GB, free: 15.65 MB / 2.061 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