Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_9_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=5000,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 111.5 kB / 16.37 MB, free: 6.012 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.001067/0.001067, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 66.22 kB / 0.8141 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2613, allocations: 140.4 MB / 0.9512 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002702/0.264, allocations: 1.243 MB / 0.9524 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.2656, allocations: 0.891 MB / 0.9533 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.507e-05/0.2657, allocations: 4 kB / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.2657, allocations: 0 / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.2658, allocations: 31.94 kB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008772/0.2667, allocations: 243.4 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.307e-05/0.2668, allocations: 27.97 kB / 0.9535 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.2669, allocations: 3.984 kB / 0.9536 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.864e-05/0.2669, allocations: 15.98 kB / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.2671, allocations: 51.94 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.2671, allocations: 0 / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004592/0.2676, allocations: 287.5 kB / 0.9539 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.2676, allocations: 15.98 kB / 0.9539 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.2677, allocations: 19.75 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.268, allocations: 247.4 kB / 0.9542 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2681, allocations: 0 / 0.9542 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2681, allocations: 0 / 0.9542 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2681, allocations: 0 / 0.9542 GB, free: 4.91 MB / 0.7325 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.0004445/0.2685, allocations: 387.3 kB / 0.9545 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2686, allocations: 8.031 kB / 0.9545 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.2686, allocations: 4.844 kB / 0.9545 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.2687, allocations: 172.2 kB / 0.9547 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.2688, allocations: 4.375 kB / 0.9547 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.2688, allocations: 384 / 0.9547 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.2689, allocations: 61.92 kB / 0.9548 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.2689, allocations: 0 / 0.9548 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2689, allocations: 3.984 kB / 0.9548 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.269, allocations: 16 kB / 0.9548 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.919e-05/0.269, allocations: 27.98 kB / 0.9548 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.2692, allocations: 177.6 kB / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.54e-05/0.2693, allocations: 50.61 kB / 0.955 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/0.2693, allocations: 36.88 kB / 0.9551 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.994e-06/0.2693, allocations: 0 / 0.9551 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.2694, allocations: 42.5 kB / 0.9551 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.2694, allocations: 4 kB / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0002081/0.2696, allocations: 133.6 kB / 0.9552 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.2697, allocations: 51.41 kB / 0.9553 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.2698, allocations: 133.7 kB / 0.9554 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.2698, allocations: 25.7 kB / 0.9554 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.2698, allocations: 92.14 kB / 0.9555 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.2699, allocations: 27.55 kB / 0.9556 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.2699, allocations: 17.72 kB / 0.9556 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.27, allocations: 326.9 kB / 0.9559 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.678e-05/0.2701, allocations: 24.27 kB / 0.9559 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.2701, allocations: 27.94 kB / 0.9559 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.505e-05/0.2702, allocations: 80.75 kB / 0.956 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2702, allocations: 0 / 0.956 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001097/0.2703, allocations: 93.59 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2703, allocations: 11.92 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2704, allocations: 0 / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2704, allocations: 0 / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.2704, allocations: 64 / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2704, allocations: 8 kB / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.2704, allocations: 3.906 kB / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.2704, allocations: 0 / 0.9561 GB, free: 2.676 MB / 0.7325 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 9.643e-05/0.2705, allocations: 125.8 kB / 0.9562 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.2706, allocations: 11.83 kB / 0.9563 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.635e-05/0.2706, allocations: 8.375 kB / 0.9563 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.2706, allocations: 15.98 kB / 0.9563 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2706, allocations: 0 / 0.9563 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2706, allocations: 0 / 0.9563 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.2708, allocations: 177.7 kB / 0.9564 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2708, allocations: 0 / 0.9564 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-07/0.2708, allocations: 0 / 0.9564 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2708, allocations: 3.938 kB / 0.9565 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.2708, allocations: 3.984 kB / 0.9565 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2708, allocations: 7.984 kB / 0.9565 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2708, allocations: 0 / 0.9565 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.271, allocations: 125 kB / 0.9566 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.271, allocations: 96.92 kB / 0.9567 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.271, allocations: 3.984 kB / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.237e-05/0.2711, allocations: 3.938 kB / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.2711, allocations: 0 / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.2711, allocations: 4 kB / 0.9567 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.396e-05/0.2712, allocations: 99.27 kB / 0.9568 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2712, allocations: 0 / 0.9568 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000314/0.2715, allocations: 75.98 kB / 0.9569 GB, free: 1.832 MB / 0.7325 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.000319/0.2718, allocations: 167.2 kB / 0.957 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.2719, allocations: 67.97 kB / 0.9571 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2719, allocations: 3.938 kB / 0.9571 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.251e-05/0.272, allocations: 32 kB / 0.9571 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.2721, allocations: 6.188 kB / 0.9571 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.2725, allocations: 190.2 kB / 0.9573 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.2728, allocations: 0.7039 MB / 0.958 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.292e-05/0.2728, allocations: 4.125 kB / 0.958 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.2728, allocations: 11.44 kB / 0.958 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.2729, allocations: 0 / 0.958 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of Templates: time 0.004225/0.2771, allocations: 1.472 MB / 0.9594 GB, free: 15.16 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches