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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 195.7 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 482.6 MB / 0.7549 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003197/0.003197, allocations: 67.05 kB / 0.9242 GB, free: 29.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3234, allocations: 162.3 MB / 1.083 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.00179/0.3253, allocations: 0.534 MB / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3265, allocations: 1.027 MB / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.3265, allocations: 0 / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.217e-06/0.3266, allocations: 0 / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0007027/0.3273, allocations: 123.7 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.189e-05/0.3273, allocations: 19.92 kB / 1.084 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.883e-05/0.3274, allocations: 11.98 kB / 1.084 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.3274, allocations: 0 / 1.084 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.3274, allocations: 4 kB / 1.084 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.3276, allocations: 39.91 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.3276, allocations: 0 / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.3278, allocations: 115.8 kB / 1.085 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.453e-06/0.3278, allocations: 0 / 1.085 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.413e-05/0.3279, allocations: 0 / 1.085 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.328, allocations: 107.8 kB / 1.085 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3281, allocations: 3.938 kB / 1.085 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3281, allocations: 4 kB / 1.085 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3281, allocations: 0 / 1.085 GB, free: 10.81 MB / 0.8419 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.0003277/0.3284, allocations: 339.7 kB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.3284, allocations: 8.031 kB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.3285, allocations: 30.75 kB / 1.085 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.2e-05/0.3285, allocations: 8.875 kB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3286, allocations: 168.4 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3287, allocations: 4.375 kB / 1.085 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.3287, allocations: 8.359 kB / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.18e-05/0.3288, allocations: 33.64 kB / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.3288, allocations: 0 / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.3288, allocations: 0 / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3288, allocations: 0 / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.38e-05/0.3288, allocations: 4 kB / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.3292, allocations: 464.6 kB / 1.086 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.296e-05/0.3293, allocations: 173.1 kB / 1.086 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.3294, allocations: 80.14 kB / 1.086 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.3294, allocations: 83.27 kB / 1.086 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.654e-05/0.3295, allocations: 109.8 kB / 1.086 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.3295, allocations: 0 / 1.086 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 6.389e-05/0.3295, allocations: 29.64 kB / 1.086 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.3296, allocations: 130.7 kB / 1.086 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.3297, allocations: 105.8 kB / 1.086 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3297, allocations: 25.7 kB / 1.086 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.3298, allocations: 80.14 kB / 1.086 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.3298, allocations: 0 / 1.086 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.3298, allocations: 9.719 kB / 1.086 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3299, allocations: 318.8 kB / 1.087 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-06/0.33, allocations: 7.938 kB / 1.087 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.33, allocations: 0 / 1.087 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.33, allocations: 12.86 kB / 1.087 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.33, allocations: 0 / 1.087 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.191e-05/0.3301, allocations: 41.53 kB / 1.087 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3301, allocations: 8 kB / 1.087 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.3301, allocations: 0 / 1.087 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.3301, allocations: 0 / 1.087 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-05/0.3302, allocations: 0 / 1.087 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3302, allocations: 8.078 kB / 1.087 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.3302, allocations: 0 / 1.087 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.3302, allocations: 0 / 1.087 GB, free: 8.312 MB / 0.8419 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.0001021/0.3303, allocations: 189.1 kB / 1.087 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.3304, allocations: 104.9 kB / 1.087 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.098e-05/0.3304, allocations: 119.8 kB / 1.087 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.736e-05/0.3305, allocations: 184.3 kB / 1.087 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.889e-05/0.3306, allocations: 180.2 kB / 1.088 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-05/0.3307, allocations: 180.3 kB / 1.088 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.3309, allocations: 413.1 kB / 1.088 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.791e-05/0.331, allocations: 104.9 kB / 1.088 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.331, allocations: 101 kB / 1.088 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.968e-05/0.3311, allocations: 188.2 kB / 1.089 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.871e-05/0.3312, allocations: 180.3 kB / 1.089 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.904e-05/0.3313, allocations: 176.5 kB / 1.089 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.577e-05/0.3314, allocations: 180.2 kB / 1.089 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.3315, allocations: 319.7 kB / 1.089 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.3316, allocations: 178.1 kB / 1.09 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/0.3317, allocations: 188.3 kB / 1.09 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.3318, allocations: 104.9 kB / 1.09 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.3319, allocations: 176.3 kB / 1.09 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.3319, allocations: 108.9 kB / 1.09 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.332, allocations: 87.45 kB / 1.09 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.332, allocations: 4 kB / 1.09 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000278/0.3323, allocations: 20 kB / 1.09 GB, free: 4.68 MB / 0.8419 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.0006671/0.333, allocations: 0.8764 MB / 1.091 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 5.377e-05/0.333, allocations: 7.938 kB / 1.091 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.333, allocations: 0 / 1.091 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.333, allocations: 0 / 1.091 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.3334, allocations: 455.8 kB / 1.091 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.3339, allocations: 265.9 kB / 1.092 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.3342, allocations: 0.6766 MB / 1.092 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.3343, allocations: 4 kB / 1.092 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.3343, allocations: 15.44 kB / 1.092 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3343, allocations: 0 / 1.092 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.3558, allocations: 1.645 MB / 1.094 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/8.072, allocations: 9.234 kB / 1.094 GB, free: 0.8125 MB / 0.8419 GB (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 400 --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) 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) Reference file matches