Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 192.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.318/3.318, allocations: 0.4893 GB / 0.7884 GB, free: 33.17 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 60.11 kB / 1.145 GB, free: 30.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4214, allocations: 174.9 MB / 1.316 GB, free: 9.656 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002689/0.424, allocations: 1.257 MB / 1.317 GB, free: 8.391 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.4258, allocations: 0.9075 MB / 1.318 GB, free: 7.477 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.4258, allocations: 0 / 1.318 GB, free: 7.477 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.119e-05/0.4259, allocations: 0 / 1.318 GB, free: 7.477 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.426, allocations: 35.94 kB / 1.318 GB, free: 7.441 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009041/0.4269, allocations: 263.4 kB / 1.318 GB, free: 7.184 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.524e-05/0.427, allocations: 23.97 kB / 1.318 GB, free: 7.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.71e-05/0.4271, allocations: 7.922 kB / 1.319 GB, free: 7.152 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.25e-05/0.4271, allocations: 19.92 kB / 1.319 GB, free: 7.133 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.4273, allocations: 59.92 kB / 1.319 GB, free: 7.074 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.4273, allocations: 0 / 1.319 GB, free: 7.074 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000597/0.4279, allocations: 327.5 kB / 1.319 GB, free: 6.754 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.4279, allocations: 19.92 kB / 1.319 GB, free: 6.734 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.428, allocations: 19.81 kB / 1.319 GB, free: 6.715 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.4284, allocations: 243.3 kB / 1.319 GB, free: 6.477 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4284, allocations: 0 / 1.319 GB, free: 6.477 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4284, allocations: 0 / 1.319 GB, free: 6.477 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.4284, allocations: 0 / 1.319 GB, free: 6.477 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004756/0.4289, allocations: 309.8 kB / 1.319 GB, free: 6.145 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4289, allocations: 8.031 kB / 1.319 GB, free: 6.137 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.429, allocations: 12.89 kB / 1.319 GB, free: 6.125 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.4291, allocations: 126.4 kB / 1.32 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.4291, allocations: 384 / 1.32 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.4291, allocations: 384 / 1.32 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.4293, allocations: 61.98 kB / 1.32 GB, free: 5.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4293, allocations: 0 / 1.32 GB, free: 5.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.4293, allocations: 0 / 1.32 GB, free: 5.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.4293, allocations: 8 kB / 1.32 GB, free: 5.902 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.764e-05/0.4294, allocations: 35.92 kB / 1.32 GB, free: 5.867 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.4296, allocations: 156.6 kB / 1.32 GB, free: 5.672 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.689e-05/0.4297, allocations: 38.58 kB / 1.32 GB, free: 5.625 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.4297, allocations: 28.88 kB / 1.32 GB, free: 5.594 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.4297, allocations: 0 / 1.32 GB, free: 5.594 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.4298, allocations: 42.5 kB / 1.32 GB, free: 5.543 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.4298, allocations: 0 / 1.32 GB, free: 5.543 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0002327/0.43, allocations: 129.7 kB / 1.32 GB, free: 5.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.43, allocations: 55.44 kB / 1.32 GB, free: 5.344 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.4302, allocations: 134 kB / 1.32 GB, free: 5.203 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.4302, allocations: 25.7 kB / 1.32 GB, free: 5.172 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.4303, allocations: 88.14 kB / 1.32 GB, free: 5.082 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.4303, allocations: 35.67 kB / 1.32 GB, free: 5.047 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.4303, allocations: 13.72 kB / 1.32 GB, free: 5.027 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4305, allocations: 322.8 kB / 1.321 GB, free: 4.703 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.629e-05/0.4305, allocations: 27.98 kB / 1.321 GB, free: 4.676 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.4306, allocations: 31.94 kB / 1.321 GB, free: 4.645 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.108e-05/0.4307, allocations: 76.81 kB / 1.321 GB, free: 4.566 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4307, allocations: 4 kB / 1.321 GB, free: 4.562 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001233/0.4308, allocations: 101.6 kB / 1.321 GB, free: 4.457 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4308, allocations: 11.92 kB / 1.321 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.4308, allocations: 0 / 1.321 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4308, allocations: 0 / 1.321 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.4308, allocations: 0 / 1.321 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.4308, allocations: 0 / 1.321 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.955e-05/0.4308, allocations: 7.953 kB / 1.321 GB, free: 4.438 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.4309, allocations: 4.047 kB / 1.321 GB, free: 4.434 MB / 1.014 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0001001/0.431, allocations: 125.8 kB / 1.321 GB, free: 4.301 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.431, allocations: 7.891 kB / 1.321 GB, free: 4.293 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.431, allocations: 8.375 kB / 1.321 GB, free: 4.281 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.431, allocations: 11.98 kB / 1.321 GB, free: 4.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.431, allocations: 4 kB / 1.321 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.431, allocations: 0 / 1.321 GB, free: 4.266 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.4312, allocations: 140.7 kB / 1.321 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4312, allocations: 0 / 1.321 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.4312, allocations: 0 / 1.321 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.4312, allocations: 8.031 kB / 1.321 GB, free: 4.078 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.4312, allocations: 3.938 kB / 1.321 GB, free: 4.074 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.4312, allocations: 4 kB / 1.321 GB, free: 4.07 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4312, allocations: 0 / 1.321 GB, free: 4.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.4313, allocations: 125 kB / 1.321 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.4314, allocations: 15.83 kB / 1.321 GB, free: 3.914 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.4314, allocations: 3.938 kB / 1.321 GB, free: 3.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.091e-05/0.4314, allocations: 0 / 1.321 GB, free: 3.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.4314, allocations: 8.016 kB / 1.321 GB, free: 3.902 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.4314, allocations: 4 kB / 1.321 GB, free: 3.898 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.77e-05/0.4315, allocations: 99.27 kB / 1.322 GB, free: 3.801 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4315, allocations: 0 / 1.322 GB, free: 3.801 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003073/0.4318, allocations: 75.86 kB / 1.322 GB, free: 3.727 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0003345/0.4321, allocations: 163.6 kB / 1.322 GB, free: 3.559 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.4322, allocations: 63.91 kB / 1.322 GB, free: 3.496 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4322, allocations: 4.062 kB / 1.322 GB, free: 3.492 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.4323, allocations: 28 kB / 1.322 GB, free: 3.465 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.4324, allocations: 4.141 kB / 1.322 GB, free: 3.465 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.4328, allocations: 202 kB / 1.322 GB, free: 3.242 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.4332, allocations: 0.6963 MB / 1.323 GB, free: 2.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.052e-05/0.4332, allocations: 12.05 kB / 1.323 GB, free: 2.508 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.4332, allocations: 7.438 kB / 1.323 GB, free: 2.5 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.4332, allocations: 3.938 kB / 1.323 GB, free: 2.496 MB / 1.014 GB Notification: Performance of Templates: time 0.004767/0.438, allocations: 1.526 MB / 1.324 GB, free: 1.02 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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: 9.606340797618032]