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.001345/0.001345, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001385/0.001385, allocations: 215 kB / 20.13 MB, free: 2.949 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.423/1.423, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.845/2.845, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9743/0.9762, allocations: 176.1 MB / 1.321 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.00159/0.9778, allocations: 0.5407 MB / 1.322 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.9789, allocations: 1.051 MB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.9789, allocations: 0 / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.979, allocations: 2.531 kB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007491/0.9797, allocations: 125.5 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.086e-05/0.9797, allocations: 10.19 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.229e-05/0.9798, allocations: 10.77 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.9798, allocations: 6.844 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.719e-05/0.9798, allocations: 3.938 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.98, allocations: 47.2 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.9801, allocations: 0 / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.9802, allocations: 109.3 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.9803, allocations: 11.02 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.832e-05/0.9803, allocations: 0 / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.9804, allocations: 107.3 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9805, allocations: 0 / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9805, allocations: 0 / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.9805, allocations: 0 / 1.323 GB, free: 23.52 MB / 1.061 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.0003028/0.9808, allocations: 335.4 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.9808, allocations: 21.91 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.439e-05/0.9808, allocations: 4.188 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.785e-05/0.9808, allocations: 30.75 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.9809, allocations: 7.734 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.406e-05/0.981, allocations: 163.1 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.981, allocations: 384 / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.981, allocations: 4.125 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.809e-05/0.9811, allocations: 35.27 kB / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.9811, allocations: 4 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.9811, allocations: 0 / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.9811, allocations: 0 / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.603e-05/0.9811, allocations: 2.469 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.9814, allocations: 466.6 kB / 1.324 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.191e-05/0.9815, allocations: 173.1 kB / 1.325 GB, free: 22.17 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.9815, allocations: 84.14 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.9815, allocations: 79.22 kB / 1.325 GB, free: 22.01 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.9815, allocations: 112.6 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.9815, allocations: 0 / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.526e-05/0.9816, allocations: 29.69 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.9816, allocations: 130 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.398e-05/0.9817, allocations: 105.5 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.9817, allocations: 25.7 kB / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.991e-05/0.9817, allocations: 83.56 kB / 1.325 GB, free: 21.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.9817, allocations: 0 / 1.325 GB, free: 21.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.9817, allocations: 12.25 kB / 1.325 GB, free: 21.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.9818, allocations: 325.4 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.9818, allocations: 0 / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-06/0.9818, allocations: 2.438 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.993e-05/0.9818, allocations: 8.922 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9818, allocations: 6.719 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.413e-05/0.9819, allocations: 38.47 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.9819, allocations: 4.781 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.9819, allocations: 0 / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.9819, allocations: 0 / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.377e-05/0.982, allocations: 0 / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.982, allocations: 2.562 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.252e-05/0.982, allocations: 3.938 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.982, allocations: 4.031 kB / 1.326 GB, free: 21.1 MB / 1.061 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 5.478e-05/0.982, allocations: 193.8 kB / 1.326 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.9821, allocations: 105.8 kB / 1.326 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.9821, allocations: 106.8 kB / 1.326 GB, free: 20.69 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.9821, allocations: 180.2 kB / 1.326 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.5e-05/0.9821, allocations: 176.3 kB / 1.326 GB, free: 20.33 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/0.9822, allocations: 189.9 kB / 1.327 GB, free: 20.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.9823, allocations: 404 kB / 1.327 GB, free: 19.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.9823, allocations: 104.4 kB / 1.327 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.51e-05/0.9823, allocations: 104.9 kB / 1.327 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-05/0.9824, allocations: 179.2 kB / 1.327 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.9824, allocations: 188.2 kB / 1.328 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.451e-05/0.9824, allocations: 180.3 kB / 1.328 GB, free: 18.92 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.488e-05/0.9824, allocations: 182.5 kB / 1.328 GB, free: 18.74 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.325e-05/0.9825, allocations: 310.7 kB / 1.328 GB, free: 18.42 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.9825, allocations: 193.5 kB / 1.328 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.9826, allocations: 179 kB / 1.329 GB, free: 18.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.9826, allocations: 101 kB / 1.329 GB, free: 17.92 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.9826, allocations: 180.2 kB / 1.329 GB, free: 17.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.9827, allocations: 104.2 kB / 1.329 GB, free: 17.63 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.588e-05/0.9827, allocations: 84.88 kB / 1.329 GB, free: 17.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9827, allocations: 3.938 kB / 1.329 GB, free: 17.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002407/0.9829, allocations: 33.25 kB / 1.329 GB, free: 17.54 MB / 1.061 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.0004718/0.9834, allocations: 0.8709 MB / 1.33 GB, free: 16.71 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.69e-05/0.9835, allocations: 0 / 1.33 GB, free: 16.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9835, allocations: 0 / 1.33 GB, free: 16.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.9835, allocations: 2.969 kB / 1.33 GB, free: 16.71 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.9837, allocations: 459.6 kB / 1.33 GB, free: 16.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.9842, allocations: 260.6 kB / 1.331 GB, free: 16.01 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.715e-05/0.9843, allocations: 0.673 MB / 1.331 GB, free: 15.31 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.9843, allocations: 10.38 kB / 1.331 GB, free: 15.31 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.9843, allocations: 14.47 kB / 1.331 GB, free: 15.3 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.9843, allocations: 0 / 1.331 GB, free: 15.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/1.002, allocations: 1.736 MB / 1.333 GB, free: 14.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/9.178, allocations: 7.875 kB / 1.333 GB, free: 14.88 MB / 1.061 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.fmu > Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 15.457230647967663]