Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9727/0.9727, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.107/2.107, allocations: 429.5 MB / 0.6732 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") translateModel(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.8782 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.533e-05/3.767e-05, allocations: 6.25 kB / 0.8782 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001429/0.001467, allocations: 0.5747 MB / 0.8788 GB, free: 4.609 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.002626, allocations: 1.068 MB / 0.8798 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.002648, allocations: 0.8438 kB / 0.8798 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.002672, allocations: 0.7656 kB / 0.8798 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.000593/0.003265, allocations: 119.4 kB / 0.8799 GB, free: 3.414 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 2.947e-05/0.003294, allocations: 16.8 kB / 0.8799 GB, free: 3.398 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.019e-05/0.003344, allocations: 9.312 kB / 0.8799 GB, free: 3.391 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.003384, allocations: 4 kB / 0.8799 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 2.971e-05/0.003414, allocations: 1.312 kB / 0.8799 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.003614, allocations: 49.72 kB / 0.88 GB, free: 3.34 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.003628, allocations: 0 / 0.88 GB, free: 3.34 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.003808, allocations: 109.3 kB / 0.8801 GB, free: 3.234 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.00382, allocations: 5.672 kB / 0.8801 GB, free: 3.23 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.003841, allocations: 4.875 kB / 0.8801 GB, free: 3.227 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.004027, allocations: 119.7 kB / 0.8802 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.00403, allocations: 1.031 kB / 0.8802 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.733e-06/0.004032, allocations: 0 / 0.8802 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.004037, allocations: 0 / 0.8802 GB, free: 3.109 MB / 0.7917 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.0003726/0.00441, allocations: 369.6 kB / 0.8806 GB, free: 2.715 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.00445, allocations: 8.031 kB / 0.8806 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.004489, allocations: 4.891 kB / 0.8806 GB, free: 2.703 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.432e-05/0.004574, allocations: 109.7 kB / 0.8807 GB, free: 2.57 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.004586, allocations: 384 / 0.8807 GB, free: 2.57 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.004599, allocations: 9.406 kB / 0.8807 GB, free: 2.562 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.856e-05/0.004678, allocations: 34.25 kB / 0.8807 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.004686, allocations: 192 / 0.8807 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.004697, allocations: 4.844 kB / 0.8807 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.004709, allocations: 0 / 0.8807 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.278e-05/0.004722, allocations: 5.562 kB / 0.8807 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.005073, allocations: 478.2 kB / 0.8812 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.475e-05/0.005158, allocations: 265.4 kB / 0.8815 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.005192, allocations: 130.9 kB / 0.8816 GB, free: 1.605 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.00522, allocations: 120.8 kB / 0.8817 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.005264, allocations: 156.5 kB / 0.8818 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.005265, allocations: 0 / 0.8818 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 6.463e-05/0.00533, allocations: 33.69 kB / 0.8819 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.005385, allocations: 179.4 kB / 0.882 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.723e-05/0.005483, allocations: 153.9 kB / 0.8822 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.005491, allocations: 26.8 kB / 0.8822 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.005533, allocations: 130.9 kB / 0.8823 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-06/0.005537, allocations: 0 / 0.8823 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.005565, allocations: 28.83 kB / 0.8824 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.005677, allocations: 496.1 kB / 0.8828 GB, free: 240 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.005689, allocations: 0 / 0.8828 GB, free: 240 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-06/0.005695, allocations: 0 / 0.8828 GB, free: 240 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.666e-05/0.005721, allocations: 14.97 kB / 0.8829 GB, free: 224 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.005723, allocations: 0 / 0.8829 GB, free: 224 kB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.572e-05/0.005819, allocations: 37.59 kB / 0.8829 GB, free: 180 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.005834, allocations: 11.94 kB / 0.8829 GB, free: 168 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.005839, allocations: 3.984 kB / 0.8829 GB, free: 164 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.005855, allocations: 0 / 0.8829 GB, free: 164 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.761e-05/0.005872, allocations: 4 kB / 0.8829 GB, free: 160 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.005878, allocations: 1.25 kB / 0.8829 GB, free: 160 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.249e-05/0.005891, allocations: 4 kB / 0.8829 GB, free: 156 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.005895, allocations: 0 / 0.8829 GB, free: 156 kB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * 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.000101/0.005996, allocations: 276.9 kB / 0.8832 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.006045, allocations: 152.9 kB / 0.8833 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.006096, allocations: 156 kB / 0.8835 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-05/0.006152, allocations: 272.2 kB / 0.8837 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.501e-05/0.006217, allocations: 264.1 kB / 0.884 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.009e-05/0.006277, allocations: 276 kB / 0.8843 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.006428, allocations: 491.9 kB / 0.8847 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-05/0.00646, allocations: 152.8 kB / 0.8849 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.006495, allocations: 144.9 kB / 0.885 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.823e-05/0.006553, allocations: 268.3 kB / 0.8853 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.653e-05/0.00663, allocations: 276 kB / 0.8855 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.778e-05/0.006688, allocations: 264.1 kB / 0.8858 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-05/0.006759, allocations: 272 kB / 0.886 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.006889, allocations: 448 kB / 0.8865 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.006928, allocations: 153.2 kB / 0.8866 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.11e-05/0.007, allocations: 272 kB / 0.8869 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.929e-05/0.007059, allocations: 156.9 kB / 0.887 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.007121, allocations: 264.1 kB / 0.8873 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.007154, allocations: 148.8 kB / 0.8874 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000119/0.007273, allocations: 131.2 kB / 0.8875 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.61e-07/0.007274, allocations: 4 kB / 0.8875 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001949/0.007468, allocations: 23.88 kB / 0.8876 GB, free: 11.2 MB / 0.8073 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.0004359/0.007904, allocations: 293.8 kB / 0.8878 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.449e-05/0.007979, allocations: 7.688 kB / 0.8879 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.007981, allocations: 4 kB / 0.8879 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.007982, allocations: 0 / 0.8879 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.008273, allocations: 0.714 MB / 0.8886 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.008668, allocations: 276.3 kB / 0.8888 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.117e-05/0.008699, allocations: 59.34 kB / 0.8889 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.008727, allocations: 0 / 0.8889 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.008753, allocations: 12.5 kB / 0.8889 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.008753, allocations: 0 / 0.8889 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of Templates: time 0.00258/0.01133, allocations: 0.8281 MB / 0.8897 GB, free: 8.992 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.654284054879099]