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.001995/0.001995, allocations: 111.2 kB / 16.46 MB, free: 6.508 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.002238/0.002238, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.424/1.424, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.063/3.063, allocations: 0.49 GB / 0.7916 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] 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.002019/0.002019, allocations: 69.91 kB / 1.149 GB, free: 26.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4191, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.002304/0.4214, allocations: 0.5386 MB / 1.321 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.4231, allocations: 1.051 MB / 1.322 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.4232, allocations: 0 / 1.322 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.4232, allocations: 0 / 1.322 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008332/0.424, allocations: 131.7 kB / 1.323 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.257e-05/0.4241, allocations: 19.91 kB / 1.323 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.195e-05/0.4241, allocations: 4 kB / 1.323 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.4242, allocations: 0 / 1.323 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.623e-05/0.4242, allocations: 7.938 kB / 1.323 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.4244, allocations: 39.95 kB / 1.323 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.4244, allocations: 0 / 1.323 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.4247, allocations: 123.8 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/0.4247, allocations: 0 / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.4247, allocations: 4 kB / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.4249, allocations: 104 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4249, allocations: 0 / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4249, allocations: 0 / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4249, allocations: 0 / 1.323 GB, free: 1.336 MB / 1.014 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.0004138/0.4253, allocations: 331.4 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4254, allocations: 11.98 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.4254, allocations: 46.67 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.4254, allocations: 4.891 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.4256, allocations: 168.4 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.4256, allocations: 4.375 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.4256, allocations: 384 / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.281e-05/0.4257, allocations: 33.58 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4257, allocations: 3.984 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.4257, allocations: 0 / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4257, allocations: 4 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.4257, allocations: 3.984 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.4263, allocations: 468.6 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.4264, allocations: 173.1 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.4264, allocations: 84.14 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.4265, allocations: 75.28 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.948e-05/0.4265, allocations: 109.8 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.4265, allocations: 4 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.249e-05/0.4266, allocations: 25.7 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/0.4267, allocations: 130.7 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.4268, allocations: 105.8 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.4268, allocations: 29.64 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.4269, allocations: 84.08 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.4269, allocations: 0 / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.4269, allocations: 13.72 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4271, allocations: 326.8 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-06/0.4271, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.4271, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.909e-05/0.4271, allocations: 8.859 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4272, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.979e-05/0.4273, allocations: 33.66 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.4273, allocations: 8 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4273, allocations: 96 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.4273, allocations: 4 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.778e-05/0.4273, allocations: 7.922 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.4273, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.344e-05/0.4273, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.4273, allocations: 4 kB / 1.325 GB, free: 14.82 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.0001192/0.4274, allocations: 189.1 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.4275, allocations: 101 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.343e-05/0.4276, allocations: 116 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.022e-05/0.4277, allocations: 180.2 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.348e-05/0.4278, allocations: 176.3 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-05/0.4279, allocations: 180.2 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.4281, allocations: 413.1 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.063e-05/0.4282, allocations: 104.9 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.4283, allocations: 105 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.479e-05/0.4284, allocations: 184.3 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.343e-05/0.4284, allocations: 180.4 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.691e-05/0.4285, allocations: 180.3 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.361e-05/0.4286, allocations: 188.2 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.4288, allocations: 303.8 kB / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.4289, allocations: 186 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.429, allocations: 184.2 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.4291, allocations: 104.9 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.4292, allocations: 180.3 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.139e-05/0.4293, allocations: 105 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.713e-05/0.4293, allocations: 91.2 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4293, allocations: 0 / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002674/0.4296, allocations: 27.88 kB / 1.328 GB, free: 11.19 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.0008445/0.4305, allocations: 0.8727 MB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.222e-05/0.4305, allocations: 4 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4305, allocations: 0 / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.492e-06/0.4305, allocations: 3.938 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.431, allocations: 463.8 kB / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.4315, allocations: 249.7 kB / 1.33 GB, free: 9.547 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.4319, allocations: 0.6766 MB / 1.331 GB, free: 8.844 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.626e-05/0.4319, allocations: 8 kB / 1.331 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.432, allocations: 11.44 kB / 1.331 GB, free: 8.824 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.432, allocations: 3.938 kB / 1.331 GB, free: 8.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.4575, allocations: 1.692 MB / 1.332 GB, free: 7.312 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.626, allocations: 14.52 kB / 1.332 GB, free: 7.305 MB / 1.029 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.23076067189686]