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.001432/0.001432, 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.001671/0.001671, allocations: 214 kB / 22.26 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.578/1.578, allocations: 230.6 MB / 256 MB, free: 8.012 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.373/3.373, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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.001998/0.001998, allocations: 73.59 kB / 1.154 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.41, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.002302/0.4123, allocations: 0.5648 MB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.4141, allocations: 1.054 MB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.4141, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.4141, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.4152, allocations: 139.7 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.519e-05/0.4152, allocations: 7.938 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.545e-05/0.4153, allocations: 11.98 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.4154, allocations: 0 / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.237e-05/0.4154, allocations: 7.938 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.4156, allocations: 43.95 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.4156, allocations: 0 / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.4159, allocations: 131.8 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.4159, allocations: 0 / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.416, allocations: 7.984 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.4162, allocations: 100.1 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4162, allocations: 0 / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4162, allocations: 0 / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.4162, allocations: 0 / 1.328 GB, free: 15.9 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.0004032/0.4166, allocations: 259.5 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4167, allocations: 16.03 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.4167, allocations: 30.75 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.4168, allocations: 8.875 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.4169, allocations: 106.5 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.4169, allocations: 384 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.4169, allocations: 384 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.417, allocations: 37.58 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.417, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.4171, allocations: 4 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4171, allocations: 4 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.4171, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.4176, allocations: 366.5 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.4177, allocations: 169.1 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.4177, allocations: 80.14 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.4177, allocations: 79.28 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.181e-05/0.4178, allocations: 105.8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4178, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.332e-05/0.4179, allocations: 33.7 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.418, allocations: 126.7 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.4181, allocations: 97.84 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.4181, allocations: 29.64 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.4182, allocations: 100.1 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-06/0.4182, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.4182, allocations: 13.66 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4183, allocations: 318.8 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.4183, allocations: 3.984 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.4184, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.429e-05/0.4184, allocations: 12.8 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4184, allocations: 4.062 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001184/0.4185, allocations: 33.7 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4185, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4185, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4185, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.888e-05/0.4186, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.4186, allocations: 3.938 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.4186, allocations: 3.953 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.4186, allocations: 0 / 1.33 GB, free: 13.69 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.0001377/0.4187, allocations: 197.6 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.4188, allocations: 101 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.16e-05/0.4189, allocations: 108.1 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.84e-05/0.4189, allocations: 188.2 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-05/0.419, allocations: 176.3 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.007e-05/0.4191, allocations: 188.2 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.4193, allocations: 376.2 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.74e-05/0.4194, allocations: 105 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.4195, allocations: 108.9 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.213e-05/0.4195, allocations: 176.5 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.223e-05/0.4196, allocations: 184.4 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.6e-05/0.4197, allocations: 180.3 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.455e-05/0.4198, allocations: 184.2 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.4199, allocations: 311.7 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.42, allocations: 104.9 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.952e-05/0.4201, allocations: 184.3 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/0.4202, allocations: 113 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.4203, allocations: 180.2 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.4203, allocations: 105 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.4204, allocations: 83.22 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4204, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002745/0.4206, allocations: 27.92 kB / 1.333 GB, free: 10.17 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.000883/0.4215, allocations: 0.8649 MB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.4216, allocations: 11.98 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4216, allocations: 0 / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/0.4216, allocations: 0 / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.4221, allocations: 455.6 kB / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006619/0.4227, allocations: 261.8 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.423, allocations: 0.6727 MB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.377e-05/0.423, allocations: 4 kB / 1.335 GB, free: 7.824 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.4231, allocations: 15.42 kB / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.4231, allocations: 0 / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.4555, allocations: 1.763 MB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.06, allocations: 10.72 kB / 1.337 GB, free: 6.211 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.180389510001987]