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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|supPosErr",fileNamePrefix="Buildings_latest_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_latest_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.00144/0.00144, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001538/0.001538, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.364/2.364, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 68.5 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2751, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition): time 0.002163/0.2773, allocations: 1.275 MB / 1.028 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002794/0.2776, allocations: 111.6 kB / 1.028 GB, free: 0.625 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.6e-05/0.2776, allocations: 0 / 1.028 GB, free: 0.625 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.2776, allocations: 0 / 1.028 GB, free: 0.625 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.2779, allocations: 23.91 kB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.481e-05/0.2779, allocations: 4 kB / 1.028 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.229e-05/0.278, allocations: 7.938 kB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.278, allocations: 4 kB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.429e-05/0.278, allocations: 0 / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.2782, allocations: 11.98 kB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.624e-06/0.2782, allocations: 0 / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-06/0.2782, allocations: 0 / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.2782, allocations: 11.92 kB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.2782, allocations: 0 / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 4.103e-05/0.2783, allocations: 8 kB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.2783, allocations: 0 / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2783, allocations: 0 / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2783, allocations: 0 / 1.028 GB, free: 0.5547 MB / 0.795 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.0002553/0.2785, allocations: 315.6 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.2786, allocations: 8.031 kB / 1.028 GB, free: 192 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.2786, allocations: 0.9375 kB / 1.028 GB, free: 192 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.2787, allocations: 160.4 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.2787, allocations: 4.375 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.2787, allocations: 4.375 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.339e-05/0.2788, allocations: 30.27 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.2788, allocations: 192 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2789, allocations: 3.938 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2789, allocations: 3.938 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.703e-05/0.2789, allocations: 7.984 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.2791, allocations: 367.5 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.817e-05/0.2792, allocations: 181.1 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.772e-05/0.2792, allocations: 80.14 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.2793, allocations: 79.22 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.2793, allocations: 113.8 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.2793, allocations: 0 / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 5.888e-05/0.2794, allocations: 33.7 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.2794, allocations: 126.7 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/0.2795, allocations: 93.86 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2795, allocations: 29.7 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.2796, allocations: 87.98 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.2796, allocations: 0 / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.2796, allocations: 13.7 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.2797, allocations: 315 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.2797, allocations: 4 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/0.2797, allocations: 4 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.485e-05/0.2798, allocations: 12.8 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.2798, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.584e-05/0.2799, allocations: 33.64 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.2799, allocations: 4 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2799, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2799, allocations: 96 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.854e-05/0.28, allocations: 11.98 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.28, allocations: 3.984 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.28, allocations: 3.938 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.28, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 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 7.932e-05/0.2801, allocations: 193 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.2801, allocations: 104.9 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.962e-05/0.2802, allocations: 108.1 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.028e-05/0.2802, allocations: 188.2 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.145e-05/0.2803, allocations: 184.3 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.128e-05/0.2804, allocations: 180.3 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.2806, allocations: 409.1 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.931e-05/0.2806, allocations: 105 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.2806, allocations: 108.9 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.74e-05/0.2807, allocations: 176.3 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.106e-05/0.2807, allocations: 176.3 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.041e-05/0.2808, allocations: 184.2 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.045e-05/0.2809, allocations: 180.2 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.281, allocations: 315.9 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.281, allocations: 182.1 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.2811, allocations: 188.2 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.2812, allocations: 105 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.2812, allocations: 184.2 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.2813, allocations: 105 kB / 1.033 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.357e-05/0.2813, allocations: 79.28 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2813, allocations: 0 / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002097/0.2815, allocations: 0 / 1.034 GB, free: 10.62 MB / 0.8106 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.0001147/0.2816, allocations: 178.5 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.061e-05/0.2817, allocations: 11.94 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2817, allocations: 160 / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.2817, allocations: 4 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.282, allocations: 463.6 kB / 1.034 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001798/0.2822, allocations: 156.9 kB / 1.034 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.2824, allocations: 0.6768 MB / 1.035 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.51e-05/0.2824, allocations: 0 / 1.035 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.2825, allocations: 11.44 kB / 1.035 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2825, allocations: 0 / 1.035 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of Templates: time 0.001775/0.2843, allocations: 203.7 kB / 1.035 GB, free: 8.922 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition.makefile (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemporalSuperposition -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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