Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemporalSuperposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemporalSuperposition",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.001299/0.001299, 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.001652/0.001652, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.458/1.458, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.854/2.854, allocations: 469.4 MB / 0.742 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 67.16 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3016, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition): time 0.003337/0.305, allocations: 1.26 MB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004524/0.3055, allocations: 123.6 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.3056, allocations: 0 / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.3056, allocations: 0 / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.306, allocations: 19.97 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.049e-05/0.3061, allocations: 3.938 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.299e-05/0.3062, allocations: 4 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.014e-05/0.3062, allocations: 0 / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.771e-05/0.3063, allocations: 8 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.3064, allocations: 11.98 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.3065, allocations: 0 / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.3065, allocations: 4 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.3065, allocations: 7.922 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.3065, allocations: 0 / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.226e-05/0.3066, allocations: 0 / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.3066, allocations: 0 / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.815e-06/0.3066, allocations: 0 / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.3067, allocations: 4 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004782/0.3071, allocations: 315.5 kB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/0.3072, allocations: 12.06 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.713e-05/0.3073, allocations: 34.69 kB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.3073, allocations: 0.9375 kB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.3075, allocations: 164.4 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3075, allocations: 384 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.3076, allocations: 4.375 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.3077, allocations: 30.25 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3077, allocations: 7.938 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3077, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3077, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.673e-05/0.3078, allocations: 4 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.3082, allocations: 379.5 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.3083, allocations: 173.1 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.3084, allocations: 84.14 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.3084, allocations: 75.28 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.103e-05/0.3085, allocations: 109.8 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.3085, allocations: 0 / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001055/0.3086, allocations: 33.64 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.3087, allocations: 130.7 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.3089, allocations: 97.84 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.3089, allocations: 29.64 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.309, allocations: 92.27 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-06/0.309, allocations: 0 / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.309, allocations: 13.72 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3092, allocations: 310.8 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.3092, allocations: 4 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.028e-05/0.3092, allocations: 5.797 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.3093, allocations: 4.859 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3093, allocations: 3.938 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001343/0.3094, allocations: 41.62 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3094, allocations: 4 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3094, allocations: 0 / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3095, allocations: 0 / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.3096, allocations: 4 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.3096, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.3096, allocations: 4.094 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.3096, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 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): 1 * 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 prepare postOptimizeDAE: time 0.0001305/0.3098, allocations: 189.1 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.3098, allocations: 105 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.472e-05/0.3099, allocations: 112 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-05/0.31, allocations: 176.3 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.684e-05/0.3101, allocations: 192.2 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.437e-05/0.3102, allocations: 176.3 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.3105, allocations: 409.2 kB / 1.068 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-05/0.3105, allocations: 104.9 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.3105, allocations: 105 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.449e-05/0.3106, allocations: 180.2 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.301e-05/0.3107, allocations: 184.2 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.469e-05/0.3108, allocations: 180.3 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-05/0.3109, allocations: 184.2 kB / 1.069 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.3111, allocations: 307.9 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3112, allocations: 194 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.584e-05/0.3113, allocations: 180.2 kB / 1.07 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.3114, allocations: 101 kB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.3114, allocations: 184.2 kB / 1.07 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.3115, allocations: 104.9 kB / 1.07 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.3115, allocations: 79.27 kB / 1.07 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3115, allocations: 8.094 kB / 1.07 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002811/0.3118, allocations: 4 kB / 1.07 GB, free: 7.074 MB / 0.8262 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 (0): * Single equations (assignments): 0 * 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.0004092/0.3122, allocations: 0.8053 MB / 1.071 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.984e-05/0.3123, allocations: 19.88 kB / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3123, allocations: 0 / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-06/0.3123, allocations: 4 kB / 1.071 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3127, allocations: 451.7 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.3131, allocations: 190.5 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.3134, allocations: 0.6729 MB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.982e-05/0.3134, allocations: 8 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.3134, allocations: 7.438 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3134, allocations: 0 / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.3314, allocations: 0.9799 MB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.375/7.706, allocations: 5.312 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemporalSuperposition.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemporalSuperposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches