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.001584/0.001584, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00206/0.00206, allocations: 216.8 kB / 22.24 MB, free: 5.262 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.633/1.633, allocations: 230.6 MB / 256 MB, free: 7.793 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 3.354/3.354, allocations: 0.49 GB / 0.7951 GB, free: 35.64 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="me",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="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.002091/0.002091, allocations: 66.45 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4313, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001909/0.4332, allocations: 0.5584 MB / 1.326 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.4347, allocations: 1.031 MB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.4348, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.4348, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008703/0.4357, allocations: 131.7 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.056e-05/0.4357, allocations: 19.92 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.092e-05/0.4358, allocations: 7.984 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.4358, allocations: 4 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.4358, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.4361, allocations: 49.14 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.4361, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.4363, allocations: 123.7 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.4363, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.4363, allocations: 11.92 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.4365, allocations: 104 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4366, allocations: 4 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4366, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.4366, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 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.0003679/0.4369, allocations: 258.3 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.437, allocations: 12.03 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.437, allocations: 30.75 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.4371, allocations: 4.891 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.4372, allocations: 114.5 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.4372, allocations: 4.359 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.4372, allocations: 384 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.653e-05/0.4373, allocations: 41.62 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.4373, allocations: 0 / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.4373, allocations: 0 / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.4373, allocations: 3.938 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.695e-05/0.4374, allocations: 4 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.4379, allocations: 358.6 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.438, allocations: 173.1 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.246e-05/0.438, allocations: 84.14 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.438, allocations: 75.28 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.4381, allocations: 105.8 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.4381, allocations: 0 / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.436e-05/0.4382, allocations: 37.64 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.4383, allocations: 130.7 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.4384, allocations: 101.8 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.4384, allocations: 25.7 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.4384, allocations: 84.14 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/0.4384, allocations: 0 / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.4385, allocations: 9.719 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4386, allocations: 326.8 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-06/0.4386, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.4386, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.55e-05/0.4387, allocations: 12.92 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4387, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001085/0.4388, allocations: 37.59 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4388, allocations: 8 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4388, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.4388, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.17e-05/0.4388, allocations: 3.984 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4388, allocations: 3.938 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.349e-05/0.4388, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.4389, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 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.0001081/0.439, allocations: 189.6 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.439, allocations: 105 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.659e-05/0.4391, allocations: 116.1 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-05/0.4392, allocations: 180.2 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-05/0.4393, allocations: 180.2 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-05/0.4393, allocations: 180.3 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.4396, allocations: 376.2 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.783e-05/0.4396, allocations: 112.9 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.4397, allocations: 104.9 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.485e-05/0.4398, allocations: 184.2 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.381e-05/0.4398, allocations: 180.5 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-05/0.4399, allocations: 180.3 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.419e-05/0.44, allocations: 192.2 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.4402, allocations: 303.7 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.4402, allocations: 105 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.59e-05/0.4403, allocations: 184.2 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.4404, allocations: 108.9 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.4405, allocations: 176.3 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.256e-05/0.4405, allocations: 108.9 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.328e-05/0.4406, allocations: 87.45 kB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4406, allocations: 0 / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003424/0.4409, allocations: 31.92 kB / 1.333 GB, free: 9.73 MB / 1.029 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.0008911/0.4418, allocations: 0.862 MB / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.838e-05/0.4419, allocations: 3.938 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4419, allocations: 0 / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.4419, allocations: 0 / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.4423, allocations: 469.7 kB / 1.334 GB, free: 8.383 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.4429, allocations: 253.6 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.09e-05/0.443, allocations: 63.28 kB / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.407e-05/0.443, allocations: 3.906 kB / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.4431, allocations: 15.44 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.4431, allocations: 0 / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.474, allocations: 2.2 MB / 1.337 GB, free: 5.953 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.88, allocations: 5.75 kB / 1.337 GB, free: 5.949 MB / 1.029 GB " [Timeout remaining time 287] (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: 20.242340893979417]