Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.TemporalSuperposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|supPosErr",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|supPosErr",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001991/0.001991, allocations: 189 kB / 16.25 MB, free: 6.152 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.37/2.37, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.88 kB / 0.8121 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6581/0.6594, allocations: 140.4 MB / 0.9491 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition): time 0.001995/0.6614, allocations: 1.312 MB / 0.9504 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002825/0.6617, allocations: 109.8 kB / 0.9505 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.442e-05/0.6617, allocations: 0 / 0.9505 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.6618, allocations: 0 / 0.9505 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.662, allocations: 18.84 kB / 0.9505 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.307e-05/0.6621, allocations: 6.688 kB / 0.9506 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.346e-05/0.6621, allocations: 8.062 kB / 0.9506 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.6622, allocations: 5.375 kB / 0.9506 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.6622, allocations: 1.375 kB / 0.9506 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.6623, allocations: 18.84 kB / 0.9506 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.144e-06/0.6623, allocations: 0 / 0.9506 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-06/0.6623, allocations: 0 / 0.9506 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.6624, allocations: 1.375 kB / 0.9506 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.485e-05/0.6624, allocations: 1.375 kB / 0.9506 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.84e-05/0.6624, allocations: 5.312 kB / 0.9506 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6624, allocations: 0 / 0.9506 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6624, allocations: 0 / 0.9506 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.6624, allocations: 0 / 0.9506 GB, free: 8.094 MB / 0.7169 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.0002089/0.6626, allocations: 323.6 kB / 0.9509 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.6627, allocations: 9.625 kB / 0.9509 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.6627, allocations: 0.9375 kB / 0.9509 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.281e-05/0.6628, allocations: 169.6 kB / 0.9511 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.6628, allocations: 384 / 0.9511 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.6628, allocations: 1.75 kB / 0.9511 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.619e-05/0.6629, allocations: 35.62 kB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.6629, allocations: 192 / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-06/0.6629, allocations: 7.938 kB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6629, allocations: 1.375 kB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.637e-05/0.6629, allocations: 5.359 kB / 0.9511 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.6631, allocations: 378.3 kB / 0.9515 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.269e-05/0.6632, allocations: 174.4 kB / 0.9516 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.6632, allocations: 84.14 kB / 0.9517 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.6632, allocations: 75.28 kB / 0.9518 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.6632, allocations: 107.2 kB / 0.9519 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.6633, allocations: 0 / 0.9519 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.627e-05/0.6633, allocations: 27.08 kB / 0.9519 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.6634, allocations: 130.6 kB / 0.9521 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.569e-05/0.6634, allocations: 106 kB / 0.9522 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.999e-06/0.6634, allocations: 25.7 kB / 0.9522 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.049e-05/0.6634, allocations: 82.11 kB / 0.9523 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.6635, allocations: 1.375 kB / 0.9523 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.6635, allocations: 11.12 kB / 0.9523 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.544e-05/0.6635, allocations: 320.2 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-06/0.6635, allocations: 0 / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-06/0.6635, allocations: 1.375 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.6636, allocations: 11.8 kB / 0.9526 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6636, allocations: 0 / 0.9526 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.598e-05/0.6637, allocations: 43.06 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.6637, allocations: 7.094 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.6637, allocations: 3.938 kB / 0.9526 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.6637, allocations: 1.656 kB / 0.9526 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.235e-05/0.6637, allocations: 1.438 kB / 0.9526 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.6637, allocations: 0 / 0.9526 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.6638, allocations: 0 / 0.9526 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.6638, allocations: 9.125 kB / 0.9527 GB, free: 5.809 MB / 0.7169 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 4.027e-05/0.6638, allocations: 186.2 kB / 0.9528 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.6639, allocations: 110.6 kB / 0.9529 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.6639, allocations: 117.2 kB / 0.953 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.6639, allocations: 177.7 kB / 0.9532 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/0.6639, allocations: 177.5 kB / 0.9534 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.664, allocations: 189.5 kB / 0.9536 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.6641, allocations: 406.7 kB / 0.954 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.6641, allocations: 106.7 kB / 0.9541 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.6641, allocations: 101 kB / 0.9542 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.92e-05/0.6641, allocations: 177.5 kB / 0.9543 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.6642, allocations: 189.3 kB / 0.9545 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.932e-05/0.6642, allocations: 177.6 kB / 0.9547 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.749e-05/0.6642, allocations: 184.2 kB / 0.9548 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.293e-05/0.6643, allocations: 303.7 kB / 0.9551 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.6643, allocations: 191.4 kB / 0.9553 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.6643, allocations: 181.8 kB / 0.9555 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.558e-05/0.6644, allocations: 108.9 kB / 0.9556 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.6644, allocations: 177.8 kB / 0.9558 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.6644, allocations: 106 kB / 0.9559 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.896e-05/0.6645, allocations: 81.86 kB / 0.9559 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6645, allocations: 96 / 0.9559 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002061/0.6647, allocations: 5.25 kB / 0.9559 GB, free: 2.23 MB / 0.7169 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 8.701e-05/0.6648, allocations: 177 kB / 0.9561 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.638e-05/0.6648, allocations: 5.594 kB / 0.9561 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6648, allocations: 0 / 0.9561 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.6648, allocations: 1.812 kB / 0.9561 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.6651, allocations: 460.6 kB / 0.9566 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001653/0.6653, allocations: 168.5 kB / 0.9567 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.6654, allocations: 0.6742 MB / 0.9574 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.849e-05/0.6654, allocations: 0 / 0.9574 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.6654, allocations: 13.03 kB / 0.9574 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6654, allocations: 0 / 0.9574 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of Templates: time 0.001863/0.6673, allocations: 186.1 kB / 0.9576 GB, free: 0.6484 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemporalSuperposition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches