Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.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.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ter.1..TLoaODE.TAir|minTSet.y|ter.1..QReqHea_flow|ter.1..QActHea_flow|ter.1..mReqHeaWat_flow|ter.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ter.1..TLoaODE.TAir|minTSet.y|ter.1..QReqHea_flow|ter.1..QActHea_flow|ter.1..mReqHeaWat_flow|ter.1..port_aHeaWat.m_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001485/0.001485, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.572/2.572, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 59.89 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9818/0.9832, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1): time 1.398/2.381, allocations: 426.8 MB / 1.625 GB, free: 31.64 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.09668/2.478, allocations: 66.85 MB / 1.691 GB, free: 30.67 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01749/2.495, allocations: 308.9 kB / 1.691 GB, free: 30.67 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01138/2.507, allocations: 3.563 MB / 1.694 GB, free: 30.59 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02223/2.529, allocations: 7.362 MB / 1.701 GB, free: 30.25 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01381/2.543, allocations: 5.405 MB / 1.707 GB, free: 28.98 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.1179/2.661, allocations: 59.99 MB / 1.765 GB, free: 15.88 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04084/2.702, allocations: 19.75 MB / 1.785 GB, free: 12.34 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03657/2.738, allocations: 14.21 MB / 1.799 GB, free: 15.06 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03026/2.768, allocations: 11 MB / 1.809 GB, free: 4.816 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.008804/2.777, allocations: 1.684 MB / 1.811 GB, free: 3.133 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02847/2.806, allocations: 7.143 MB / 1.818 GB, free: 12.43 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.01205/2.818, allocations: 5.744 MB / 1.823 GB, free: 6.734 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.02791/2.846, allocations: 10.12 MB / 1.833 GB, free: 12.63 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.05663/2.903, allocations: 32.55 MB / 1.865 GB, free: 12.86 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/2.903, allocations: 0 / 1.865 GB, free: 12.86 MB / 1.389 GB Notification: Performance of FrontEnd: time 1.834e-06/2.903, allocations: 0 / 1.865 GB, free: 12.86 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.001145/2.904, allocations: 0 / 1.865 GB, free: 12.86 MB / 1.389 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2376 * Number of variables: 2376 Notification: Performance of Generate backend data structure: time 0.06908/2.973, allocations: 20.4 MB / 1.885 GB, free: 8.469 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 7.008e-05/2.973, allocations: 19.95 kB / 1.885 GB, free: 8.449 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03173/3.005, allocations: 5.474 MB / 1.89 GB, free: 2.957 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06189/3.067, allocations: 25.68 MB / 1.916 GB, free: 9.645 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001159/3.068, allocations: 0.7708 MB / 1.916 GB, free: 8.879 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004624/3.072, allocations: 0.9753 MB / 1.917 GB, free: 7.906 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04618/3.119, allocations: 15.53 MB / 1.932 GB, free: 7.695 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004848/3.119, allocations: 35.69 kB / 1.932 GB, free: 7.66 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004024/3.123, allocations: 400 kB / 1.933 GB, free: 7.27 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004627/3.124, allocations: 372.5 kB / 1.933 GB, free: 6.902 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0405/3.164, allocations: 13.8 MB / 1.947 GB, free: 9.078 MB / 1.467 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.1399/3.304, allocations: 67.97 MB / 2.013 GB, free: 2.418 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02674/3.331, allocations: 10.53 MB / 2.023 GB, free: 7.875 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01088/3.342, allocations: 4.559 MB / 2.028 GB, free: 3.312 MB / 1.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03954/3.382, allocations: 14.17 MB / 2.042 GB, free: 4.887 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01299/3.395, allocations: 5.081 MB / 2.047 GB, free: 15.75 MB / 1.576 GB Notification: Performance of pre-optimization done (n=429): time 1.371e-05/3.395, allocations: 0 / 2.047 GB, free: 15.75 MB / 1.576 GB Notification: Performance of matching and sorting (n=429): time 0.1036/3.498, allocations: 28.37 MB / 2.074 GB, free: 3.238 MB / 1.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002721/3.499, allocations: 462.4 kB / 2.075 GB, free: 2.688 MB / 1.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05647/3.555, allocations: 19.32 MB / 2.094 GB, free: 15.44 MB / 1.623 GB Notification: Performance of collectPreVariables (initialization): time 0.002123/3.557, allocations: 164.4 kB / 2.094 GB, free: 15.28 MB / 1.623 GB Notification: Performance of collectInitialEqns (initialization): time 0.01437/3.572, allocations: 7.909 MB / 2.101 GB, free: 7.395 MB / 1.623 GB Notification: Performance of collectInitialBindings (initialization): time 0.00326/3.575, allocations: 1.532 MB / 2.103 GB, free: 5.875 MB / 1.623 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01059/3.586, allocations: 2.44 MB / 2.105 GB, free: 3.426 MB / 1.623 GB Notification: Performance of setup shared object (initialization): time 0.000114/3.586, allocations: 301.1 kB / 2.106 GB, free: 3.129 MB / 1.623 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0156/3.601, allocations: 6.493 MB / 2.112 GB, free: 12.62 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01995/3.621, allocations: 10.11 MB / 2.122 GB, free: 1.02 MB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03148/3.653, allocations: 14.93 MB / 2.136 GB, free: 0.7578 MB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001824/3.653, allocations: 24 kB / 2.136 GB, free: 0.7344 MB / 1.654 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.05767/3.711, allocations: 20.37 MB / 2.156 GB, free: 12.25 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001748/3.711, allocations: 47.98 kB / 2.156 GB, free: 12.2 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002048/3.711, allocations: 91.94 kB / 2.156 GB, free: 12.11 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01481/3.726, allocations: 4.764 MB / 2.161 GB, free: 7.328 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008828/3.735, allocations: 1.927 MB / 2.163 GB, free: 5.398 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01799/3.753, allocations: 10.24 MB / 2.173 GB, free: 11 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01651/3.769, allocations: 1.747 MB / 2.175 GB, free: 9.25 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002957/3.772, allocations: 499.8 kB / 2.175 GB, free: 8.762 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02887/3.801, allocations: 11.95 MB / 2.187 GB, free: 12.8 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01969/3.821, allocations: 9.773 MB / 2.196 GB, free: 1.535 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.8469/4.668, allocations: 14.33 MB / 2.21 GB, free: 0.7073 GB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001143/4.668, allocations: 26.47 kB / 2.21 GB, free: 0.7073 GB / 1.717 GB Notification: Performance of matching and sorting (n=1345) (initialization_lambda0): time 0.04393/4.712, allocations: 19.32 MB / 2.229 GB, free: 0.7028 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/4.712, allocations: 44.62 kB / 2.229 GB, free: 0.7028 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002091/4.713, allocations: 89.38 kB / 2.229 GB, free: 0.7028 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009832/4.722, allocations: 3.74 MB / 2.233 GB, free: 0.7022 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007866/4.73, allocations: 1.95 MB / 2.235 GB, free: 0.702 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/4.743, allocations: 8.147 MB / 2.243 GB, free: 0.698 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01541/4.759, allocations: 1.377 MB / 2.244 GB, free: 0.6979 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002357/4.761, allocations: 467.1 kB / 2.245 GB, free: 0.6978 GB / 1.717 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 410 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.loa.nextTimeEvent,$whenCondition1,ter[5].con1.y,ter[4].con1.y,ter[3].con1.y,ter[2].con1.y,ter[1].con1.y,ter[1].hex.flowRegime_nominal,ter[1].hex.flowRegime,ter[2].hex.flowRegime_nominal,ter[2].hex.flowRegime,ter[3].hex.flowRegime_nominal,ter[3].hex.flowRegime,ter[4].hex.flowRegime_nominal,ter[4].hex.flowRegime,ter[5].hex.flowRegime_nominal,ter[5].hex.flowRegime,loa.nextTimeEventScaled,$PRE.loa.nextTimeEventScaled,loa.nextTimeEvent,ter[5].greThr.greHys.y,$PRE.ter[5].greThr.greHys.y,ter[4].greThr.greHys.y,$PRE.ter[4].greThr.greHys.y,ter[3].greThr.greHys.y,$PRE.ter[3].greThr.greHys.y,ter[2].greThr.greHys.y,$PRE.ter[2].greThr.greHys.y,ter[1].greThr.greHys.y,$PRE.ter[1].greThr.greHys.y,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (985): * Single equations (assignments): 967 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 5 systems {(1,32), (1,32), (1,32), (1,32), (1,32)} Notification: Performance of prepare postOptimizeDAE: time 0.004163/4.765, allocations: 0.7748 MB / 2.245 GB, free: 0.6973 GB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005927/4.771, allocations: 1.483 MB / 2.247 GB, free: 0.6973 GB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03161/4.803, allocations: 11.72 MB / 2.258 GB, free: 0.6941 GB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02098/4.824, allocations: 9.556 MB / 2.268 GB, free: 0.6883 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/4.824, allocations: 0 / 2.268 GB, free: 0.6883 GB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009811/4.834, allocations: 2.856 MB / 2.27 GB, free: 0.6855 GB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005761/4.84, allocations: 104 kB / 2.271 GB, free: 0.6854 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01192/4.852, allocations: 0.9223 MB / 2.271 GB, free: 0.6846 GB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001317/4.853, allocations: 329.8 kB / 2.272 GB, free: 0.6843 GB / 1.717 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03913/4.892, allocations: 14.71 MB / 2.286 GB, free: 0.6702 GB / 1.717 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03071/4.923, allocations: 15.38 MB / 2.301 GB, free: 0.6552 GB / 1.717 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00783/4.931, allocations: 4.418 MB / 2.305 GB, free: 0.6509 GB / 1.717 GB Notification: Performance of sorting global known variables: time 0.02796/4.959, allocations: 13.34 MB / 2.319 GB, free: 0.638 GB / 1.717 GB Notification: Performance of Backend: time 1.473e-06/4.959, allocations: 0 / 2.319 GB, free: 0.638 GB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.0596/5.018, allocations: 19.65 MB / 2.338 GB, free: 0.6196 GB / 1.717 GB Notification: Performance of SimCode: time 0.09044/5.109, allocations: 39.31 MB / 2.376 GB, free: 0.5813 GB / 1.717 GB Notification: Performance of Templates: time 0.4653/5.574, allocations: 352.7 MB / 2.721 GB, free: 244.5 MB / 1.717 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches