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.001628/0.001628, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001867/0.001867, allocations: 215.1 kB / 23.03 MB, free: 4.422 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.196/3.196, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 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="cs",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="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.001996/0.001996, allocations: 69.91 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.4476, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001863/0.4494, allocations: 0.5561 MB / 1.346 GB, free: 15.37 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.4511, allocations: 1.031 MB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.4511, allocations: 3.938 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.4511, allocations: 0 / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0008334/0.4519, allocations: 131.7 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.891e-05/0.452, allocations: 11.98 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.641e-05/0.452, allocations: 7.984 kB / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.4521, allocations: 3.938 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.995e-05/0.4521, allocations: 4 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.4523, allocations: 39.97 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.4524, allocations: 4 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.4526, allocations: 123.8 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.4526, allocations: 3.984 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.4526, allocations: 3.938 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.4528, allocations: 104 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4528, allocations: 0 / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4528, allocations: 0 / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.4529, allocations: 0 / 1.347 GB, free: 13.89 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.0003797/0.4532, allocations: 258.2 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4533, allocations: 8.031 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.978e-05/0.4533, allocations: 8.188 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.227e-05/0.4533, allocations: 38.73 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.4534, allocations: 4.875 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.4535, allocations: 106.5 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4535, allocations: 384 / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.4535, allocations: 4.125 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.8e-05/0.4536, allocations: 37.64 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4536, allocations: 0 / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.4536, allocations: 0 / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4536, allocations: 0 / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.567e-05/0.4536, allocations: 11.92 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.4541, allocations: 366.6 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.4542, allocations: 165.1 kB / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.4543, allocations: 84.14 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.4544, allocations: 75.28 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.809e-05/0.4544, allocations: 109.8 kB / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.4544, allocations: 0 / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 9.744e-05/0.4545, allocations: 29.7 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.4546, allocations: 126.7 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.4548, allocations: 105.8 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.4548, allocations: 25.7 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.4549, allocations: 96.03 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-06/0.4549, allocations: 0 / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.4549, allocations: 13.72 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002187/0.4551, allocations: 318.8 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.4552, allocations: 3.984 kB / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-06/0.4552, allocations: 0 / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.801e-05/0.4552, allocations: 12.8 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4552, allocations: 0 / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000109/0.4553, allocations: 29.7 kB / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4553, allocations: 8.094 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4553, allocations: 4 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4553, allocations: 0 / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.794e-05/0.4553, allocations: 0 / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4554, allocations: 0 / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.4554, allocations: 0 / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.4554, allocations: 4 kB / 1.349 GB, free: 11.68 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.000199/0.4556, allocations: 193 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.4557, allocations: 104.9 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.4558, allocations: 116 kB / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.642e-05/0.4559, allocations: 176.3 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001851/0.456, allocations: 184.2 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001364/0.4562, allocations: 192.2 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.4564, allocations: 372.2 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.781e-05/0.4565, allocations: 109.1 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.4566, allocations: 108.9 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.291e-05/0.4566, allocations: 184.3 kB / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.305e-05/0.4567, allocations: 180.3 kB / 1.351 GB, free: 9.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.904e-05/0.4568, allocations: 180.2 kB / 1.351 GB, free: 9.484 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-05/0.4569, allocations: 176.3 kB / 1.351 GB, free: 9.305 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.4571, allocations: 315.7 kB / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.4571, allocations: 105 kB / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.4573, allocations: 184.2 kB / 1.352 GB, free: 8.676 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.4574, allocations: 105 kB / 1.352 GB, free: 8.566 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.355e-05/0.4574, allocations: 188.2 kB / 1.352 GB, free: 8.375 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.4575, allocations: 109 kB / 1.352 GB, free: 8.262 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.4576, allocations: 79.28 kB / 1.352 GB, free: 8.184 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4576, allocations: 0 / 1.352 GB, free: 8.184 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002581/0.4578, allocations: 27.92 kB / 1.352 GB, free: 8.156 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.0008145/0.4586, allocations: 0.8666 MB / 1.353 GB, free: 7.27 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.338e-05/0.4587, allocations: 7.984 kB / 1.353 GB, free: 7.262 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4587, allocations: 0 / 1.353 GB, free: 7.262 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.4587, allocations: 4 kB / 1.353 GB, free: 7.258 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.4592, allocations: 455.7 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/0.4598, allocations: 261.5 kB / 1.354 GB, free: 6.512 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.54e-05/0.4599, allocations: 59.42 kB / 1.354 GB, free: 6.434 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.4599, allocations: 3.938 kB / 1.354 GB, free: 6.43 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.4599, allocations: 15.42 kB / 1.354 GB, free: 6.414 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.4599, allocations: 0 / 1.354 GB, free: 6.414 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.4837, allocations: 1.827 MB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.67, allocations: 21.55 kB / 1.356 GB, free: 4.754 MB / 1.045 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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: 19.692732041934505]