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.008047/0.008046, allocations: 102.8 kB / 15.73 MB, free: 5.984 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.001903/0.001903, allocations: 195.2 kB / 16.67 MB, free: 5.91 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.398/2.398, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.89 kB / 1.054 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.7471, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition): time 0.00226/0.7494, allocations: 1.245 MB / 1.209 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003244/0.7498, allocations: 119.6 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.131e-05/0.7498, allocations: 0 / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.7499, allocations: 7.938 kB / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.7501, allocations: 15.98 kB / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.848e-05/0.7502, allocations: 3.938 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.682e-05/0.7503, allocations: 7.984 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.7503, allocations: 4 kB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.7503, allocations: 3.938 kB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.7505, allocations: 11.98 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.627e-06/0.7505, allocations: 0 / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.932e-06/0.7505, allocations: 4 kB / 1.209 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.7505, allocations: 0 / 1.209 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.7505, allocations: 7.938 kB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 4.634e-05/0.7506, allocations: 4 kB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7506, allocations: 0 / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7506, allocations: 0 / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.7506, allocations: 0 / 1.209 GB, free: 12.14 MB / 0.9356 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.0002751/0.7509, allocations: 315.6 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.7509, allocations: 8.031 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.271e-05/0.751, allocations: 30.75 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.751, allocations: 12.88 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.738e-05/0.7511, allocations: 168.4 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.7511, allocations: 384 / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-06/0.7511, allocations: 384 / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.862e-05/0.7512, allocations: 38.25 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.7512, allocations: 7.922 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-06/0.7512, allocations: 0 / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7512, allocations: 4 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.645e-05/0.7513, allocations: 0 / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.7515, allocations: 379.6 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.029e-05/0.7516, allocations: 177 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.7516, allocations: 80.14 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.7517, allocations: 75.28 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.7517, allocations: 109.8 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.7517, allocations: 0 / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.841e-05/0.7518, allocations: 33.64 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.7519, allocations: 126.7 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.148e-05/0.7519, allocations: 97.86 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.7519, allocations: 25.7 kB / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.752, allocations: 94.41 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.752, allocations: 3.938 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.752, allocations: 9.719 kB / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.7521, allocations: 314.8 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.7521, allocations: 4 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-06/0.7522, allocations: 0 / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.7522, allocations: 8.859 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7522, allocations: 3.938 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.186e-05/0.7523, allocations: 37.7 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.7523, allocations: 7.984 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.7523, allocations: 3.938 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.7523, allocations: 4 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.029e-05/0.7524, allocations: 0 / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.7524, allocations: 0 / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.7524, allocations: 0 / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.7524, allocations: 0 / 1.211 GB, free: 9.766 MB / 0.9356 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 8.325e-05/0.7525, allocations: 193.1 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.7526, allocations: 105 kB / 1.211 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.7526, allocations: 112 kB / 1.211 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-05/0.7527, allocations: 180.3 kB / 1.211 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.876e-05/0.7527, allocations: 180.2 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.887e-05/0.7528, allocations: 176.3 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.753, allocations: 413.2 kB / 1.212 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-05/0.753, allocations: 104.9 kB / 1.212 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.7531, allocations: 101 kB / 1.212 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.947e-05/0.7531, allocations: 180.2 kB / 1.212 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/0.7532, allocations: 180.3 kB / 1.213 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-05/0.7532, allocations: 184.3 kB / 1.213 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.384e-05/0.7533, allocations: 192.2 kB / 1.213 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.7534, allocations: 303.7 kB / 1.213 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.7535, allocations: 182.1 kB / 1.213 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.7536, allocations: 184.5 kB / 1.214 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.7536, allocations: 108.9 kB / 1.214 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.7537, allocations: 180.3 kB / 1.214 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.7537, allocations: 104.9 kB / 1.214 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.52e-05/0.7538, allocations: 83.27 kB / 1.214 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.824e-06/0.7538, allocations: 0 / 1.214 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002022/0.754, allocations: 3.938 kB / 1.214 GB, free: 6.164 MB / 0.9356 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.0003477/0.7543, allocations: 0.8088 MB / 1.215 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.947e-05/0.7544, allocations: 7.938 kB / 1.215 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7544, allocations: 0 / 1.215 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.7544, allocations: 3.984 kB / 1.215 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.7547, allocations: 470 kB / 1.215 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.7551, allocations: 186.3 kB / 1.216 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.7553, allocations: 0.6768 MB / 1.216 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.255e-05/0.7554, allocations: 0 / 1.216 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.7554, allocations: 9.328 kB / 1.216 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.7554, allocations: 0 / 1.216 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.7724, allocations: 0.9909 MB / 1.217 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.197/7.969, allocations: 4.766 kB / 1.217 GB, free: 3.129 MB / 0.9356 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemporalSuperposition_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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