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.001229/0.001229, allocations: 81.86 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001712/0.001712, allocations: 169.7 kB / 23.27 MB, free: 1.219 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 1.047/1.047, allocations: 177.1 MB / 203.7 MB, free: 5.469 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.517/2.517, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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 1.673e-06/1.673e-06, allocations: 0 / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.508e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001247/0.001272, allocations: 0.5816 MB / 0.8903 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.002554, allocations: 1.058 MB / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.002586, allocations: 0 / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.002606, allocations: 0 / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006228/0.003228, allocations: 123.6 kB / 0.8915 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.003e-05/0.003258, allocations: 15.91 kB / 0.8915 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.443e-05/0.003313, allocations: 8 kB / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.00336, allocations: 0 / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.13e-05/0.003401, allocations: 8 kB / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.003598, allocations: 43.89 kB / 0.8916 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.003611, allocations: 0 / 0.8916 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.0038, allocations: 107.8 kB / 0.8917 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.003812, allocations: 0 / 0.8917 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.756e-05/0.003829, allocations: 7.984 kB / 0.8917 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.00401, allocations: 131.6 kB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004012, allocations: 0 / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.273e-06/0.004013, allocations: 4 kB / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.004019, allocations: 0 / 0.8918 GB, free: 7.629 MB / 0.8542 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.0003048/0.004324, allocations: 360.5 kB / 0.8922 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.004375, allocations: 8.625 kB / 0.8922 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.004404, allocations: 4.938 kB / 0.8922 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.177e-05/0.004496, allocations: 108.6 kB / 0.8923 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.004507, allocations: 384 / 0.8923 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.004514, allocations: 4.312 kB / 0.8923 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.307e-05/0.004587, allocations: 38.25 kB / 0.8923 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.004595, allocations: 4.188 kB / 0.8923 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.004603, allocations: 8.125 kB / 0.8923 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.004608, allocations: 0 / 0.8923 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-06/0.004616, allocations: 0 / 0.8923 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.004965, allocations: 466.8 kB / 0.8928 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.951e-05/0.005064, allocations: 273.4 kB / 0.893 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.005104, allocations: 126.9 kB / 0.8931 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.005139, allocations: 119.2 kB / 0.8933 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.686e-05/0.005196, allocations: 156.6 kB / 0.8934 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 2.284e-06/0.005198, allocations: 3.984 kB / 0.8934 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.063e-05/0.005259, allocations: 29.64 kB / 0.8934 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.00533, allocations: 182.5 kB / 0.8936 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.005446, allocations: 161.9 kB / 0.8938 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.005456, allocations: 25.7 kB / 0.8938 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.005512, allocations: 130.8 kB / 0.8939 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.005515, allocations: 0 / 0.8939 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.005544, allocations: 23.36 kB / 0.8939 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.005696, allocations: 492.1 kB / 0.8944 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-06/0.005703, allocations: 3.938 kB / 0.8944 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-06/0.005713, allocations: 4 kB / 0.8944 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/0.005743, allocations: 11.69 kB / 0.8944 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005745, allocations: 4.062 kB / 0.8944 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.591e-05/0.005841, allocations: 29.7 kB / 0.8945 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.005856, allocations: 15.88 kB / 0.8945 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.005862, allocations: 0 / 0.8945 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.005875, allocations: 0 / 0.8945 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.431e-05/0.005899, allocations: 3.984 kB / 0.8945 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.005903, allocations: 0 / 0.8945 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.101e-05/0.005914, allocations: 0 / 0.8945 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.005922, allocations: 4 kB / 0.8945 GB, free: 4.684 MB / 0.8542 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.0001158/0.006038, allocations: 275.8 kB / 0.8947 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.006098, allocations: 148.9 kB / 0.8949 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.006161, allocations: 159.9 kB / 0.895 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-05/0.00623, allocations: 264.1 kB / 0.8953 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.086e-05/0.006301, allocations: 272.1 kB / 0.8956 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-05/0.006371, allocations: 272 kB / 0.8958 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.006552, allocations: 480.5 kB / 0.8963 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.099e-05/0.006593, allocations: 148.8 kB / 0.8964 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.006634, allocations: 148.9 kB / 0.8966 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.006821, allocations: 264.1 kB / 0.8968 GB, free: 2.199 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.462e-05/0.006896, allocations: 272.2 kB / 0.8971 GB, free: 1.926 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.942e-05/0.006965, allocations: 272.1 kB / 0.8973 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.391e-05/0.007039, allocations: 276 kB / 0.8976 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.007185, allocations: 448 kB / 0.898 GB, free: 0.9102 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.007229, allocations: 144.9 kB / 0.8982 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/0.007305, allocations: 268.1 kB / 0.8984 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.93e-05/0.007364, allocations: 152.8 kB / 0.8986 GB, free: 344 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.007436, allocations: 272 kB / 0.8988 GB, free: 64 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.007487, allocations: 152.8 kB / 0.899 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.505e-05/0.007532, allocations: 123.2 kB / 0.8991 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.007532, allocations: 4 kB / 0.8991 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001768/0.007709, allocations: 23.92 kB / 0.8991 GB, free: 15.76 MB / 0.8698 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.0003382/0.008047, allocations: 285.9 kB / 0.8994 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.316e-05/0.00811, allocations: 7.688 kB / 0.8994 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.008113, allocations: 4 kB / 0.8994 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.008114, allocations: 0 / 0.8994 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.008442, allocations: 0.7141 MB / 0.9001 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.008788, allocations: 273.5 kB / 0.9003 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.887e-05/0.008827, allocations: 59.22 kB / 0.9004 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.008857, allocations: 0 / 0.9004 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.008903, allocations: 78.19 kB / 0.9005 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of SimCode: time 1.112e-06/0.008904, allocations: 0 / 0.9005 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of Templates: time 0.002681/0.01158, allocations: 1.012 MB / 0.9015 GB, free: 13.31 MB / 0.8698 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.925910572055727]