Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 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.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_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.001174/0.001173, allocations: 109.5 kB / 16.41 MB, free: 6.441 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.00122/0.00122, allocations: 190.7 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.384/1.384, 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 10.1.1-maint.10.0.x/package.mo): time 2.507/2.507, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 67.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9309/0.9324, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1): time 1.315/2.247, allocations: 426.9 MB / 1.584 GB, free: 32.04 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.08296/2.33, allocations: 66.91 MB / 1.65 GB, free: 31.41 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01607/2.346, allocations: 308.6 kB / 1.65 GB, free: 31.41 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01144/2.358, allocations: 3.621 MB / 1.653 GB, free: 31.34 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.0203/2.378, allocations: 7.675 MB / 1.661 GB, free: 31.05 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01292/2.391, allocations: 5.431 MB / 1.666 GB, free: 30.9 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.1007/2.492, allocations: 60.05 MB / 1.725 GB, free: 22.17 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02801/2.52, allocations: 19.75 MB / 1.744 GB, free: 2.629 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02932/2.549, allocations: 14.28 MB / 1.758 GB, free: 6.004 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0217/2.571, allocations: 10.99 MB / 1.769 GB, free: 12.2 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.006098/2.577, allocations: 1.684 MB / 1.77 GB, free: 10.52 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02033/2.597, allocations: 7.17 MB / 1.777 GB, free: 4.105 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.008929/2.606, allocations: 5.736 MB / 1.783 GB, free: 14.54 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.02069/2.627, allocations: 10.12 MB / 1.793 GB, free: 4.539 MB / 1.326 GB Notification: Performance of NFConvertDAE.convert: time 0.04767/2.675, allocations: 33.19 MB / 1.825 GB, free: 4.285 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/2.675, allocations: 0 / 1.825 GB, free: 4.285 MB / 1.357 GB Notification: Performance of FrontEnd: time 1.373e-06/2.675, allocations: 0 / 1.825 GB, free: 4.285 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.001053/2.676, allocations: 0 / 1.825 GB, free: 4.285 MB / 1.357 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.05392/2.73, allocations: 20.42 MB / 1.845 GB, free: 15.93 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 8.36e-05/2.73, allocations: 8.625 kB / 1.845 GB, free: 15.92 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02914/2.759, allocations: 5.486 MB / 1.851 GB, free: 10.42 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05526/2.814, allocations: 25.69 MB / 1.876 GB, free: 1.355 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/2.815, allocations: 0.7705 MB / 1.876 GB, free: 0.5859 MB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004032/2.819, allocations: 0.9776 MB / 1.877 GB, free: 15.61 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04021/2.86, allocations: 15.54 MB / 1.893 GB, free: 15.47 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003876/2.86, allocations: 30.38 kB / 1.893 GB, free: 15.46 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003129/2.863, allocations: 406.9 kB / 1.893 GB, free: 15.07 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004103/2.864, allocations: 368.5 kB / 1.893 GB, free: 14.71 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03411/2.898, allocations: 13.8 MB / 1.907 GB, free: 1.062 MB / 1.436 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.1115/3.009, allocations: 67.99 MB / 1.973 GB, free: 10.98 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02309/3.032, allocations: 10.54 MB / 1.984 GB, free: 464 kB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009172/3.042, allocations: 4.563 MB / 1.988 GB, free: 11.89 MB / 1.529 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03166/3.073, allocations: 14.18 MB / 2.002 GB, free: 13.48 MB / 1.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01061/3.084, allocations: 5.078 MB / 2.007 GB, free: 8.348 MB / 1.545 GB Notification: Performance of pre-optimization done (n=429): time 6.562e-06/3.084, allocations: 3.938 kB / 2.007 GB, free: 8.344 MB / 1.545 GB Notification: Performance of matching and sorting (n=429): time 0.09543/3.179, allocations: 28.38 MB / 2.035 GB, free: 11.86 MB / 1.576 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00021/3.18, allocations: 465 kB / 2.035 GB, free: 11.31 MB / 1.576 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04189/3.222, allocations: 19.32 MB / 2.054 GB, free: 8.07 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.002227/3.224, allocations: 165.7 kB / 2.054 GB, free: 7.902 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.01182/3.236, allocations: 7.901 MB / 2.062 GB, free: 28 kB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002825/3.239, allocations: 1.533 MB / 2.063 GB, free: 14.51 MB / 1.607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007283/3.246, allocations: 2.442 MB / 2.066 GB, free: 12.05 MB / 1.607 GB Notification: Performance of setup shared object (initialization): time 0.0001026/3.246, allocations: 305.1 kB / 2.066 GB, free: 11.75 MB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0131/3.259, allocations: 6.488 MB / 2.072 GB, free: 5.25 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01593/3.275, allocations: 10.11 MB / 2.082 GB, free: 9.703 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.027/3.302, allocations: 14.93 MB / 2.097 GB, free: 9.789 MB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/3.302, allocations: 31.94 kB / 2.097 GB, free: 9.758 MB / 1.639 GB Notification: Performance of matching and sorting (n=1345) (initialization): time 0.05484/3.357, allocations: 20.36 MB / 2.117 GB, free: 5.559 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/3.357, allocations: 44 kB / 2.117 GB, free: 5.516 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/3.358, allocations: 92 kB / 2.117 GB, free: 5.426 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0148/3.372, allocations: 4.774 MB / 2.121 GB, free: 0.6367 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008626/3.381, allocations: 1.938 MB / 2.123 GB, free: 14.7 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01768/3.399, allocations: 10.23 MB / 2.133 GB, free: 4.305 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0158/3.415, allocations: 1.74 MB / 2.135 GB, free: 2.555 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002331/3.417, allocations: 491.8 kB / 2.135 GB, free: 2.074 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02478/3.442, allocations: 11.95 MB / 2.147 GB, free: 6.113 MB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01591/3.458, allocations: 9.781 MB / 2.157 GB, free: 10.84 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02512/3.483, allocations: 14.34 MB / 2.171 GB, free: 11.17 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.486e-05/3.483, allocations: 28 kB / 2.171 GB, free: 11.14 MB / 1.717 GB Notification: Performance of matching and sorting (n=1345) (initialization_lambda0): time 0.7636/4.247, allocations: 19.31 MB / 2.19 GB, free: 0.7449 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/4.247, allocations: 43.56 kB / 2.19 GB, free: 0.7449 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001709/4.247, allocations: 90.66 kB / 2.19 GB, free: 0.7449 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009204/4.256, allocations: 3.736 MB / 2.193 GB, free: 0.7448 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007548/4.264, allocations: 1.954 MB / 2.195 GB, free: 0.7448 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/4.274, allocations: 8.146 MB / 2.203 GB, free: 0.7422 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01372/4.288, allocations: 1.384 MB / 2.205 GB, free: 0.7422 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002201/4.29, allocations: 468.1 kB / 2.205 GB, free: 0.7422 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.002825/4.293, allocations: 0.7753 MB / 2.206 GB, free: 0.742 GB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004168/4.297, allocations: 1.48 MB / 2.207 GB, free: 0.742 GB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02655/4.324, allocations: 11.71 MB / 2.219 GB, free: 0.7391 GB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01978/4.344, allocations: 9.559 MB / 2.228 GB, free: 0.7364 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/4.344, allocations: 0 / 2.228 GB, free: 0.7364 GB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009913/4.354, allocations: 2.862 MB / 2.231 GB, free: 0.7357 GB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005103/4.359, allocations: 105.2 kB / 2.231 GB, free: 0.7356 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01225/4.371, allocations: 0.9172 MB / 2.232 GB, free: 0.7356 GB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00137/4.373, allocations: 330.8 kB / 2.232 GB, free: 0.7355 GB / 1.717 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03738/4.41, allocations: 14.71 MB / 2.246 GB, free: 0.7263 GB / 1.717 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03058/4.441, allocations: 15.38 MB / 2.261 GB, free: 0.7114 GB / 1.717 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00851/4.449, allocations: 4.425 MB / 2.266 GB, free: 0.7071 GB / 1.717 GB Notification: Performance of sorting global known variables: time 0.0252/4.475, allocations: 13.33 MB / 2.279 GB, free: 0.6941 GB / 1.717 GB Notification: Performance of Backend: time 1.383e-06/4.475, allocations: 0 / 2.279 GB, free: 0.6941 GB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.04943/4.524, allocations: 19.69 MB / 2.298 GB, free: 0.6758 GB / 1.717 GB Notification: Performance of SimCode: time 0.07518/4.599, allocations: 39.32 MB / 2.336 GB, free: 0.6377 GB / 1.717 GB Notification: Performance of Templates: time 0.4649/5.064, allocations: 353.7 MB / 2.682 GB, free: 301.6 MB / 1.717 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches