Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.2 MB / 0.6646 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 0.8126 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6242/0.6254, allocations: 140.4 MB / 0.9496 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002218/0.6277, allocations: 1.284 MB / 0.9509 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006048/0.6283, allocations: 447.6 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.6283, allocations: 3.938 kB / 0.9513 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.472e-05/0.6284, allocations: 7.938 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.335e-05/0.6285, allocations: 6.438 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.6287, allocations: 38.06 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.752e-05/0.6288, allocations: 19.5 kB / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.6288, allocations: 2.375 kB / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.858e-05/0.6289, allocations: 13.47 kB / 0.9514 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.6289, allocations: 9.594 kB / 0.9514 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.6289, allocations: 0 / 0.9514 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.6291, allocations: 49.06 kB / 0.9514 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.6291, allocations: 11.61 kB / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.6292, allocations: 23.5 kB / 0.9515 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.6293, allocations: 53.78 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.6293, allocations: 1.094 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6293, allocations: 3.938 kB / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.6293, allocations: 0 / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003188/0.6296, allocations: 356.2 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.6297, allocations: 9.125 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.6297, allocations: 2.219 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.6298, allocations: 164.5 kB / 0.952 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.6298, allocations: 8.312 kB / 0.9521 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.6299, allocations: 1.844 kB / 0.9521 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.974e-05/0.63, allocations: 55.81 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.63, allocations: 1.438 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.63, allocations: 0 / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.63, allocations: 0 / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.47e-05/0.63, allocations: 4.438 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.6302, allocations: 186.7 kB / 0.9523 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.347e-05/0.6302, allocations: 33.44 kB / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.6303, allocations: 24.77 kB / 0.9523 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.6303, allocations: 0 / 0.9523 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.6303, allocations: 43.78 kB / 0.9524 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.6303, allocations: 1.25 kB / 0.9524 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.6305, allocations: 53.53 kB / 0.9524 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.6305, allocations: 78.45 kB / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/0.6306, allocations: 132.5 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-06/0.6306, allocations: 25.7 kB / 0.9527 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.358e-05/0.6306, allocations: 89.91 kB / 0.9528 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.6306, allocations: 8.969 kB / 0.9528 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.6307, allocations: 30.94 kB / 0.9528 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.6307, allocations: 317.2 kB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.971e-05/0.6308, allocations: 28.23 kB / 0.9531 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.281e-05/0.6308, allocations: 25.06 kB / 0.9531 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.02e-05/0.6309, allocations: 41.72 kB / 0.9532 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6309, allocations: 0 / 0.9532 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001204/0.631, allocations: 102.3 kB / 0.9533 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.6311, allocations: 10.31 kB / 0.9533 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.6311, allocations: 5.562 kB / 0.9533 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6311, allocations: 3.984 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.457e-05/0.6311, allocations: 7 kB / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.6312, allocations: 0 / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.6312, allocations: 6.688 kB / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.6312, allocations: 0 / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.084e-05/0.6313, allocations: 114.9 kB / 0.9534 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.6313, allocations: 9.562 kB / 0.9534 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.22e-05/0.6313, allocations: 8.266 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.6313, allocations: 5.031 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6313, allocations: 0 / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6313, allocations: 0.8438 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.375e-05/0.6314, allocations: 169.5 kB / 0.9536 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6314, allocations: 1.312 kB / 0.9536 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.6315, allocations: 2.562 kB / 0.9536 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6315, allocations: 5.25 kB / 0.9536 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.6315, allocations: 0 / 0.9536 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6315, allocations: 4.969 kB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6315, allocations: 5.062 kB / 0.9536 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.714e-05/0.6316, allocations: 76.61 kB / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.6316, allocations: 83.61 kB / 0.9538 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.6316, allocations: 5.328 kB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.705e-05/0.6316, allocations: 0 / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.6316, allocations: 1.281 kB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.6316, allocations: 1.312 kB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.089e-05/0.6317, allocations: 105.1 kB / 0.9539 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6317, allocations: 0 / 0.9539 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002211/0.6319, allocations: 15.44 kB / 0.9539 GB, free: 5.277 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001602/0.6321, allocations: 116.8 kB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.6322, allocations: 92.5 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6322, allocations: 0 / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.6323, allocations: 3.75 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.6324, allocations: 2.25 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.6327, allocations: 164.2 kB / 0.9543 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.6328, allocations: 0.6828 MB / 0.9549 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.799e-05/0.6328, allocations: 0 / 0.9549 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.101e-05/0.6329, allocations: 8.812 kB / 0.9549 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6329, allocations: 4 kB / 0.9549 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of Templates: time 0.002463/0.6353, allocations: 0.5527 MB / 0.9555 GB, free: 3.996 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches