Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002398/0.002398, allocations: 209.8 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.414/3.414, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 76.59 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4398, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1): time 1.482/1.922, allocations: 384.8 MB / 1.703 GB, free: 31.04 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.09066/2.012, allocations: 62.69 MB / 1.764 GB, free: 21.89 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0169/2.029, allocations: 423 kB / 1.765 GB, free: 21.89 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01158/2.041, allocations: 3.587 MB / 1.768 GB, free: 21.08 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.0245/2.065, allocations: 7.785 MB / 1.776 GB, free: 18.46 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01547/2.081, allocations: 5.895 MB / 1.781 GB, free: 15.64 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.1255/2.206, allocations: 59.68 MB / 1.84 GB, free: 4.488 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03435/2.241, allocations: 12.7 MB / 1.852 GB, free: 7.645 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04296/2.284, allocations: 15.74 MB / 1.867 GB, free: 7.871 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02729/2.311, allocations: 11.45 MB / 1.879 GB, free: 12.41 MB / 1.373 GB Notification: Performance of NFPackage.collectConstants: time 0.008301/2.319, allocations: 1.637 MB / 1.88 GB, free: 10.77 MB / 1.373 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02601/2.345, allocations: 6.416 MB / 1.886 GB, free: 4.344 MB / 1.373 GB Notification: Performance of NFScalarize.scalarize: time 0.01343/2.359, allocations: 5.836 MB / 1.892 GB, free: 14.49 MB / 1.389 GB Notification: Performance of NFVerifyModel.verify: time 0.02809/2.387, allocations: 7.788 MB / 1.9 GB, free: 6.664 MB / 1.389 GB Notification: Performance of NFConvertDAE.convert: time 0.06835/2.455, allocations: 32.49 MB / 1.932 GB, free: 6.066 MB / 1.42 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/2.455, allocations: 0 / 1.932 GB, free: 6.066 MB / 1.42 GB Notification: Performance of FrontEnd: time 1.873e-06/2.455, allocations: 0 / 1.932 GB, free: 6.066 MB / 1.42 GB Notification: Performance of Transformations before backend: time 0.001227/2.456, allocations: 0 / 1.932 GB, free: 6.066 MB / 1.42 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.08373/2.54, allocations: 25.46 MB / 1.956 GB, free: 12.39 MB / 1.451 GB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/2.54, allocations: 8.75 kB / 1.956 GB, free: 12.38 MB / 1.451 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03277/2.573, allocations: 5.583 MB / 1.962 GB, free: 6.777 MB / 1.451 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06977/2.643, allocations: 25.66 MB / 1.987 GB, free: 12.98 MB / 1.482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001255/2.644, allocations: 0.7641 MB / 1.988 GB, free: 12.21 MB / 1.482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004872/2.649, allocations: 0.9726 MB / 1.989 GB, free: 11.24 MB / 1.482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04467/2.693, allocations: 17.2 MB / 2.005 GB, free: 8.941 MB / 1.498 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000312/2.694, allocations: 31.69 kB / 2.005 GB, free: 8.91 MB / 1.498 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003122/2.697, allocations: 404 kB / 2.006 GB, free: 8.516 MB / 1.498 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004055/2.697, allocations: 376.5 kB / 2.006 GB, free: 8.145 MB / 1.498 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04067/2.738, allocations: 13.79 MB / 2.02 GB, free: 10.32 MB / 1.514 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.1301/2.868, allocations: 54.69 MB / 2.073 GB, free: 2.402 MB / 1.561 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0252/2.893, allocations: 9.899 MB / 2.083 GB, free: 8.543 MB / 1.576 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01053/2.904, allocations: 4.379 MB / 2.087 GB, free: 4.152 MB / 1.576 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03829/2.942, allocations: 11.26 MB / 2.098 GB, free: 8.852 MB / 1.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01289/2.955, allocations: 6.334 MB / 2.104 GB, free: 2.156 MB / 1.592 GB Notification: Performance of pre-optimization done (n=429): time 1.156e-05/2.955, allocations: 0 / 2.104 GB, free: 2.156 MB / 1.592 GB Notification: Performance of matching and sorting (n=429): time 0.1113/3.066, allocations: 28.83 MB / 2.132 GB, free: 5.25 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002747/3.067, allocations: 462.4 kB / 2.133 GB, free: 4.699 MB / 1.623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04495/3.112, allocations: 17.51 MB / 2.15 GB, free: 3.262 MB / 1.639 GB Notification: Performance of collectPreVariables (initialization): time 0.002058/3.114, allocations: 161.7 kB / 2.15 GB, free: 3.098 MB / 1.639 GB Notification: Performance of collectInitialEqns (initialization): time 0.01374/3.127, allocations: 8.036 MB / 2.158 GB, free: 11.02 MB / 1.654 GB Notification: Performance of collectInitialBindings (initialization): time 0.003367/3.131, allocations: 1.612 MB / 2.159 GB, free: 9.398 MB / 1.654 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007824/3.138, allocations: 2.433 MB / 2.162 GB, free: 6.949 MB / 1.654 GB Notification: Performance of setup shared object (initialization): time 0.0001392/3.139, allocations: 305.1 kB / 2.162 GB, free: 6.648 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01545/3.154, allocations: 6.507 MB / 2.168 GB, free: 128 kB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02197/3.176, allocations: 12.68 MB / 2.181 GB, free: 1.34 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03236/3.208, allocations: 14.97 MB / 2.195 GB, free: 1.035 MB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002089/3.209, allocations: 28 kB / 2.196 GB, free: 1.008 MB / 1.686 GB Notification: Performance of matching and sorting (n=1340) (initialization): time 0.0526/3.261, allocations: 19.93 MB / 2.215 GB, free: 12.96 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/3.261, allocations: 44 kB / 2.215 GB, free: 12.92 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002106/3.262, allocations: 88 kB / 2.215 GB, free: 12.84 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01442/3.276, allocations: 4.773 MB / 2.22 GB, free: 8.043 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009143/3.285, allocations: 1.938 MB / 2.222 GB, free: 6.102 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/3.303, allocations: 10.24 MB / 2.232 GB, free: 11.7 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01669/3.32, allocations: 1.638 MB / 2.233 GB, free: 10.05 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002897/3.323, allocations: 483.9 kB / 2.234 GB, free: 9.582 MB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02736/3.35, allocations: 11.96 MB / 2.245 GB, free: 13.61 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02042/3.371, allocations: 12.34 MB / 2.257 GB, free: 15.16 MB / 1.764 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02904/3.4, allocations: 14.37 MB / 2.271 GB, free: 15.46 MB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001371/3.4, allocations: 24 kB / 2.272 GB, free: 15.44 MB / 1.779 GB Notification: Performance of matching and sorting (n=1340) (initialization_lambda0): time 0.9833/4.383, allocations: 18.78 MB / 2.29 GB, free: 0.687 GB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/4.383, allocations: 44.7 kB / 2.29 GB, free: 0.687 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002335/4.383, allocations: 90.34 kB / 2.29 GB, free: 0.687 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01194/4.395, allocations: 3.73 MB / 2.294 GB, free: 0.6869 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009688/4.405, allocations: 1.95 MB / 2.296 GB, free: 0.6869 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01503/4.42, allocations: 8.158 MB / 2.303 GB, free: 0.6844 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01572/4.436, allocations: 1.387 MB / 2.305 GB, free: 0.6844 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002996/4.439, allocations: 469.4 kB / 2.305 GB, free: 0.6844 GB / 1.779 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 410 * Number of states: 0 () * Number of discrete variables: 30 ($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[5].hex.flowRegime_nominal,ter[4].hex.flowRegime_nominal,ter[3].hex.flowRegime_nominal,ter[2].hex.flowRegime_nominal,ter[1].hex.flowRegime_nominal,ter[1].greThr.greHys.y,$PRE.ter[1].greThr.greHys.y,ter[2].greThr.greHys.y,$PRE.ter[2].greThr.greHys.y,ter[3].greThr.greHys.y,$PRE.ter[3].greThr.greHys.y,ter[4].greThr.greHys.y,$PRE.ter[4].greThr.greHys.y,ter[5].greThr.greHys.y,$PRE.ter[5].greThr.greHys.y,loa.nextTimeEvent,loa.nextTimeEventScaled,$PRE.loa.nextTimeEventScaled,$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 (980): * Single equations (assignments): 962 * 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.005134/4.444, allocations: 0.7643 MB / 2.306 GB, free: 0.6842 GB / 1.779 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006263/4.45, allocations: 1.439 MB / 2.307 GB, free: 0.6842 GB / 1.779 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0413/4.492, allocations: 12.39 MB / 2.32 GB, free: 0.6825 GB / 1.779 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02867/4.52, allocations: 10.35 MB / 2.33 GB, free: 0.6798 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.886e-05/4.52, allocations: 6.266 kB / 2.33 GB, free: 0.6798 GB / 1.779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01067/4.531, allocations: 2.742 MB / 2.332 GB, free: 0.6792 GB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005471/4.536, allocations: 108.9 kB / 2.332 GB, free: 0.6792 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0117/4.548, allocations: 0.9246 MB / 2.333 GB, free: 0.6791 GB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001445/4.55, allocations: 342.2 kB / 2.334 GB, free: 0.6791 GB / 1.779 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04085/4.59, allocations: 14.71 MB / 2.348 GB, free: 0.6752 GB / 1.779 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03383/4.624, allocations: 15.41 MB / 2.363 GB, free: 0.6673 GB / 1.779 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009106/4.633, allocations: 4.337 MB / 2.367 GB, free: 0.6639 GB / 1.779 GB Notification: Performance of sorting global known variables: time 0.02605/4.659, allocations: 11.95 MB / 2.379 GB, free: 0.6523 GB / 1.779 GB Notification: Performance of Backend: time 8.92e-07/4.659, allocations: 0 / 2.379 GB, free: 0.6523 GB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.05195/4.711, allocations: 18.71 MB / 2.397 GB, free: 0.6351 GB / 1.779 GB Notification: Performance of SimCode: time 0.07573/4.787, allocations: 38.4 MB / 2.435 GB, free: 0.5977 GB / 1.779 GB Notification: Performance of Templates: time 0.4393/5.226, allocations: 348.9 MB / 2.775 GB, free: 265.6 MB / 1.779 GB " [Timeout remaining time 295] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_BenchmarkFlowDistribution1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.046624162001535]