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.001525/0.001525, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00213/0.00213, allocations: 216.3 kB / 22.25 MB, free: 5.082 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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 3.17/3.17, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="me",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.002006/0.002006, allocations: 67.39 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4309, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001839/0.4327, allocations: 0.5514 MB / 1.353 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.4341, allocations: 1.055 MB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.126e-05/0.4342, allocations: 0 / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.4342, allocations: 0 / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007679/0.4349, allocations: 131.7 kB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.98e-05/0.435, allocations: 15.98 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.497e-05/0.435, allocations: 7.984 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.4351, allocations: 7.938 kB / 1.355 GB, free: 6.645 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.689e-05/0.4351, allocations: 0 / 1.355 GB, free: 6.645 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.4353, allocations: 43.91 kB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.867e-06/0.4354, allocations: 0 / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.4356, allocations: 131.8 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.727e-06/0.4356, allocations: 0 / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.4356, allocations: 0 / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.4358, allocations: 119.9 kB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4358, allocations: 0 / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4358, allocations: 4 kB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.4358, allocations: 0 / 1.355 GB, free: 6.352 MB / 1.045 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.0003464/0.4362, allocations: 258.2 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.4362, allocations: 8.031 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.534e-05/0.4363, allocations: 38.69 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.4363, allocations: 4.938 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.4364, allocations: 106.5 kB / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.4364, allocations: 384 / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.4364, allocations: 384 / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.4e-05/0.4365, allocations: 37.62 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.4365, allocations: 0 / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.503e-06/0.4365, allocations: 0 / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.4365, allocations: 4 kB / 1.355 GB, free: 5.836 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.887e-05/0.4365, allocations: 3.938 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.4369, allocations: 358.6 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.514e-05/0.437, allocations: 173.1 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.371e-05/0.4371, allocations: 84.14 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.4371, allocations: 75.28 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.366e-05/0.4372, allocations: 105.8 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.4372, allocations: 3.938 kB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.849e-05/0.4372, allocations: 29.69 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.4373, allocations: 130.7 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.4374, allocations: 101.9 kB / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.4374, allocations: 25.7 kB / 1.356 GB, free: 4.664 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.4375, allocations: 88.03 kB / 1.356 GB, free: 4.574 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.4375, allocations: 0 / 1.356 GB, free: 4.574 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.4375, allocations: 21.64 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4376, allocations: 318.8 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.4376, allocations: 4 kB / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.4376, allocations: 4 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.647e-05/0.4377, allocations: 8.797 kB / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4377, allocations: 0 / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.832e-05/0.4378, allocations: 33.7 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4378, allocations: 7.984 kB / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.4378, allocations: 0 / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4378, allocations: 0 / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-05/0.4378, allocations: 0 / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4378, allocations: 4.094 kB / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.4378, allocations: 4 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.4378, allocations: 0 / 1.357 GB, free: 4.152 MB / 1.045 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.0001098/0.438, allocations: 193 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.438, allocations: 104.9 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.4381, allocations: 116.2 kB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.161e-05/0.4381, allocations: 180.3 kB / 1.357 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.488e-05/0.4382, allocations: 180.2 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-05/0.4383, allocations: 180.3 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.4385, allocations: 388.7 kB / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.125e-05/0.4386, allocations: 101 kB / 1.358 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.4386, allocations: 105.2 kB / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.112e-05/0.4387, allocations: 184.2 kB / 1.358 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.463e-05/0.4388, allocations: 180.5 kB / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.052e-05/0.4388, allocations: 184.2 kB / 1.359 GB, free: 1.969 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.79e-05/0.4389, allocations: 188.3 kB / 1.359 GB, free: 1.777 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.4391, allocations: 311.7 kB / 1.359 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.4391, allocations: 105 kB / 1.359 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.151e-05/0.4392, allocations: 180.2 kB / 1.36 GB, free: 1.156 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.4393, allocations: 105 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.4394, allocations: 184.2 kB / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.4394, allocations: 101 kB / 1.36 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.4395, allocations: 91.27 kB / 1.36 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4395, allocations: 0 / 1.36 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002455/0.4397, allocations: 23.94 kB / 1.36 GB, free: 0.6406 MB / 1.045 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.0007331/0.4404, allocations: 0.8745 MB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.634e-05/0.4405, allocations: 4 kB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4405, allocations: 0 / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.4405, allocations: 0 / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.4409, allocations: 458.4 kB / 1.361 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/0.4415, allocations: 261.7 kB / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.4417, allocations: 0.6805 MB / 1.362 GB, free: 14.29 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.4418, allocations: 3.938 kB / 1.362 GB, free: 14.28 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.4418, allocations: 15.44 kB / 1.362 GB, free: 14.27 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4418, allocations: 0 / 1.362 GB, free: 14.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.4696, allocations: 1.754 MB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.58, allocations: 8.484 kB / 1.364 GB, free: 12.67 MB / 1.061 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.fmu > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.7261473260005]