Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001873/0.001873, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002221/0.002221, allocations: 166.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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.505/1.505, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.939/2.939, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.9815 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.723e-05/3.945e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001844/0.001884, allocations: 0.5558 MB / 0.982 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.003632, allocations: 1.027 MB / 0.983 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.003659, allocations: 3.938 kB / 0.983 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.003675, allocations: 0 / 0.983 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0008877/0.004563, allocations: 135.6 kB / 0.9831 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.57e-05/0.004598, allocations: 7.938 kB / 0.9832 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.388e-05/0.004652, allocations: 12 kB / 0.9832 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.004705, allocations: 7.984 kB / 0.9832 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.004739, allocations: 0 / 0.9832 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.005005, allocations: 43.97 kB / 0.9832 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.005021, allocations: 0 / 0.9832 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000244/0.005265, allocations: 119.7 kB / 0.9833 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.005278, allocations: 0 / 0.9833 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.005303, allocations: 7.938 kB / 0.9833 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.005553, allocations: 107.8 kB / 0.9834 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.005556, allocations: 3.938 kB / 0.9834 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.01e-07/0.005557, allocations: 4 kB / 0.9834 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.005562, allocations: 3.938 kB / 0.9835 GB, free: 8.824 MB / 0.8887 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.0004251/0.005988, allocations: 266.2 kB / 0.9837 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.006034, allocations: 16.02 kB / 0.9837 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.006069, allocations: 0.9375 kB / 0.9837 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.006204, allocations: 113.8 kB / 0.9838 GB, free: 8.383 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.006218, allocations: 384 / 0.9838 GB, free: 8.383 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.006229, allocations: 384 / 0.9838 GB, free: 8.383 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.006346, allocations: 30.27 kB / 0.9839 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.006356, allocations: 192 / 0.9839 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.006369, allocations: 8.125 kB / 0.9839 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.006374, allocations: 0 / 0.9839 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.751e-05/0.006402, allocations: 8 kB / 0.9839 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.006889, allocations: 347.1 kB / 0.9842 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.007015, allocations: 165.1 kB / 0.9844 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.007061, allocations: 84.14 kB / 0.9844 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.0071, allocations: 75.28 kB / 0.9845 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.316e-05/0.007163, allocations: 109.8 kB / 0.9846 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/0.007164, allocations: 0 / 0.9846 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.401e-05/0.007258, allocations: 33.64 kB / 0.9847 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.007345, allocations: 126.7 kB / 0.9848 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.007464, allocations: 105.8 kB / 0.9849 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.007479, allocations: 25.7 kB / 0.9849 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.007536, allocations: 88.09 kB / 0.985 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.007539, allocations: 0 / 0.985 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.007571, allocations: 13.72 kB / 0.985 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.007734, allocations: 314.8 kB / 0.9853 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.007744, allocations: 0 / 0.9853 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-06/0.00775, allocations: 0 / 0.9853 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.007785, allocations: 12.84 kB / 0.9853 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007787, allocations: 4.062 kB / 0.9853 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001189/0.007906, allocations: 37.58 kB / 0.9853 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.007927, allocations: 10.5 kB / 0.9854 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.007932, allocations: 3.938 kB / 0.9854 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.007949, allocations: 0 / 0.9854 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.04e-05/0.007969, allocations: 0 / 0.9854 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.007975, allocations: 0 / 0.9854 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.00799, allocations: 0 / 0.9854 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.007999, allocations: 4 kB / 0.9854 GB, free: 6.688 MB / 0.8887 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.0001232/0.008122, allocations: 193 kB / 0.9855 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.0082, allocations: 109 kB / 0.9857 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.00826, allocations: 112.1 kB / 0.9858 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.558e-05/0.008335, allocations: 176.3 kB / 0.9859 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.953e-05/0.008415, allocations: 180.3 kB / 0.9861 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.088e-05/0.008496, allocations: 192.3 kB / 0.9863 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.008726, allocations: 352.8 kB / 0.9866 GB, free: 5.316 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.823e-05/0.008774, allocations: 101 kB / 0.9867 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.008816, allocations: 101 kB / 0.9868 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.461e-05/0.008911, allocations: 188.2 kB / 0.987 GB, free: 4.914 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.031e-05/0.009001, allocations: 188.2 kB / 0.9872 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-05/0.009076, allocations: 180.2 kB / 0.9873 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-05/0.009151, allocations: 180.3 kB / 0.9875 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.009329, allocations: 307.8 kB / 0.9878 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.009379, allocations: 105 kB / 0.9879 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.00949, allocations: 188.1 kB / 0.9881 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.256e-05/0.009583, allocations: 101 kB / 0.9882 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.862e-05/0.009681, allocations: 176.5 kB / 0.9884 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/0.009742, allocations: 116.9 kB / 0.9885 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 5.681e-05/0.009799, allocations: 87.27 kB / 0.9885 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009799, allocations: 0 / 0.9885 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002803/0.01008, allocations: 27.88 kB / 0.9886 GB, free: 3.211 MB / 0.8887 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.0005401/0.01062, allocations: 232.8 kB / 0.9888 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.607e-05/0.01071, allocations: 4 kB / 0.9888 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01071, allocations: 0 / 0.9888 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.01071, allocations: 0 / 0.9888 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.01118, allocations: 467.6 kB / 0.9892 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005035/0.01168, allocations: 220.1 kB / 0.9895 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.068e-05/0.01174, allocations: 55.36 kB / 0.9895 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 3.278e-05/0.01177, allocations: 7.938 kB / 0.9895 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.0118, allocations: 8.5 kB / 0.9895 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/0.0118, allocations: 4 kB / 0.9895 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of Templates: time 0.004021/0.01582, allocations: 0.8161 MB / 0.9903 GB, free: 1.398 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & ./Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.064961150288582]