Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008273/0.0008273, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007201/0.007201, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 437.8 MB / 0.7121 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003517, allocations: 16 kB / 0.873 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7099/0.7102, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001443/0.7117, allocations: 1.016 MB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008081/0.7125, allocations: 451 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.7126, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.158e-05/0.7127, allocations: 4 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.7128, allocations: 11.92 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.713, allocations: 19.97 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.106e-05/0.7131, allocations: 43.89 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.7131, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.7132, allocations: 15.88 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.7132, allocations: 11.97 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.7133, allocations: 4 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.7134, allocations: 35.97 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.398e-05/0.7134, allocations: 19.91 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.7135, allocations: 41.64 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.7136, allocations: 62.06 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.7136, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7136, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.7136, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 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.0003347/0.714, allocations: 351.2 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.714, allocations: 16.02 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.963e-05/0.7141, allocations: 30.75 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.833e-05/0.7141, allocations: 4.875 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.7143, allocations: 172.3 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.7143, allocations: 4.375 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.7143, allocations: 4.375 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.946e-05/0.7144, allocations: 51.53 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.7144, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.7144, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.7144, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.484e-05/0.7145, allocations: 7.938 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.7146, allocations: 182.5 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.469e-05/0.7147, allocations: 37.09 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.7147, allocations: 25.78 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.7148, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.7148, allocations: 46.48 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.7148, allocations: 0 / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000138/0.7149, allocations: 53.53 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.715, allocations: 77.11 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.7151, allocations: 129.8 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.7151, allocations: 29.7 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.7152, allocations: 84.05 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.7152, allocations: 12.08 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.7152, allocations: 25.72 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.7153, allocations: 318.8 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.7154, allocations: 20 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.968e-05/0.7154, allocations: 31.98 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.178e-05/0.7155, allocations: 48.78 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7155, allocations: 0 / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001398/0.7156, allocations: 97.36 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.7157, allocations: 6.031 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.7157, allocations: 4 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.7157, allocations: 4 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.154e-05/0.7158, allocations: 4 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.7158, allocations: 7.969 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.7158, allocations: 3.906 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.7158, allocations: 4 kB / 1.027 GB, free: 11.96 MB / 0.7794 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.585e-05/0.7159, allocations: 122.3 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.7159, allocations: 7.844 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.716, allocations: 3.531 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.716, allocations: 3.984 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.716, allocations: 8 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.716, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.7161, allocations: 161.6 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.7161, allocations: 3.938 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.7162, allocations: 7.938 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.7162, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.7162, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.7162, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7162, allocations: 3.938 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.035e-05/0.7163, allocations: 81.89 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.7163, allocations: 85.05 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.7163, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.722e-05/0.7164, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.7164, allocations: 7.922 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.7164, allocations: 4 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.376e-05/0.7164, allocations: 95.27 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7164, allocations: 4.031 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000206/0.7167, allocations: 16 kB / 1.027 GB, free: 11.25 MB / 0.7794 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.000409/0.7171, allocations: 0.6288 MB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.7172, allocations: 93.64 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7173, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.411e-05/0.7173, allocations: 4 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.7174, allocations: 5.75 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.7185, allocations: 1.306 MB / 1.029 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.7187, allocations: 0.6848 MB / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.915e-05/0.7187, allocations: 0 / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.7188, allocations: 19.44 kB / 1.03 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.7188, allocations: 0 / 1.03 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01064/0.7294, allocations: 1.501 MB / 1.031 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/0.7297, allocations: 287.6 kB / 1.032 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.428, allocations: 6.25 kB / 1.032 GB, free: 6.703 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches