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.006908/0.006908, allocations: 97.95 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001798, allocations: 193.1 kB / 16.68 MB, free: 5.969 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 482.4 MB / 0.7548 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 64.56 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3033, allocations: 162.2 MB / 1.241 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001517/0.3049, allocations: 0.5423 MB / 1.242 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3062, allocations: 1.035 MB / 1.243 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.959e-05/0.3062, allocations: 0 / 1.243 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.3062, allocations: 0 / 1.243 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007434/0.307, allocations: 127.7 kB / 1.243 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.473e-05/0.307, allocations: 11.92 kB / 1.243 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.363e-05/0.3071, allocations: 8 kB / 1.243 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.323e-05/0.3071, allocations: 4 kB / 1.243 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.279e-05/0.3071, allocations: 0 / 1.243 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.3073, allocations: 45.78 kB / 1.243 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.457e-06/0.3073, allocations: 0 / 1.243 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.3075, allocations: 107.9 kB / 1.243 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.3076, allocations: 7.875 kB / 1.243 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.318e-05/0.3076, allocations: 0 / 1.243 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.3078, allocations: 108.1 kB / 1.243 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3078, allocations: 4 kB / 1.243 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3078, allocations: 3.938 kB / 1.243 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.3078, allocations: 0 / 1.243 GB, free: 7.301 MB / 0.9669 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.0003465/0.3082, allocations: 339.3 kB / 1.244 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.3082, allocations: 11.97 kB / 1.244 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.677e-05/0.3082, allocations: 30.75 kB / 1.244 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.888e-05/0.3083, allocations: 0.9375 kB / 1.244 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3084, allocations: 176.4 kB / 1.244 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.3084, allocations: 4.375 kB / 1.244 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-06/0.3084, allocations: 384 / 1.244 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.072e-05/0.3085, allocations: 33.64 kB / 1.244 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3085, allocations: 3.938 kB / 1.244 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-06/0.3085, allocations: 0 / 1.244 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3085, allocations: 0 / 1.244 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.656e-05/0.3086, allocations: 4 kB / 1.244 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.309, allocations: 476.6 kB / 1.244 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.527e-05/0.3091, allocations: 166.6 kB / 1.245 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.3091, allocations: 80.14 kB / 1.245 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.3092, allocations: 83.22 kB / 1.245 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.726e-05/0.3092, allocations: 105.8 kB / 1.245 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3092, allocations: 4 kB / 1.245 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.727e-05/0.3093, allocations: 29.7 kB / 1.245 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.3094, allocations: 126.7 kB / 1.245 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.3095, allocations: 101.8 kB / 1.245 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3095, allocations: 25.7 kB / 1.245 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.3096, allocations: 88.09 kB / 1.245 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.3096, allocations: 0 / 1.245 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.3096, allocations: 9.719 kB / 1.245 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3098, allocations: 318.8 kB / 1.246 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.3098, allocations: 4 kB / 1.246 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.3098, allocations: 3.938 kB / 1.246 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.3098, allocations: 16.84 kB / 1.246 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3098, allocations: 0 / 1.246 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.567e-05/0.3099, allocations: 29.7 kB / 1.246 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.3099, allocations: 4 kB / 1.246 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3099, allocations: 0 / 1.246 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.31, allocations: 8.094 kB / 1.246 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.315e-05/0.31, allocations: 0 / 1.246 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.31, allocations: 0 / 1.246 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.31, allocations: 0 / 1.246 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.31, allocations: 3.938 kB / 1.246 GB, free: 4.805 MB / 0.9669 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.0001079/0.3101, allocations: 193.5 kB / 1.246 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.507e-05/0.3102, allocations: 105 kB / 1.246 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.3103, allocations: 112 kB / 1.246 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.288e-05/0.3104, allocations: 184.2 kB / 1.246 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.039e-05/0.3104, allocations: 180.3 kB / 1.246 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.302e-05/0.3105, allocations: 176.3 kB / 1.247 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.3108, allocations: 409.1 kB / 1.247 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.142e-05/0.3109, allocations: 105 kB / 1.247 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.876e-05/0.3109, allocations: 116.9 kB / 1.247 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-05/0.311, allocations: 176.3 kB / 1.247 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.214e-05/0.3111, allocations: 180.4 kB / 1.247 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-05/0.3112, allocations: 184.3 kB / 1.248 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.671e-05/0.3112, allocations: 176.3 kB / 1.248 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.3114, allocations: 315.7 kB / 1.248 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.3115, allocations: 182 kB / 1.248 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-05/0.3116, allocations: 180.3 kB / 1.248 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.3117, allocations: 105 kB / 1.249 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.3118, allocations: 184.2 kB / 1.249 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.3118, allocations: 109 kB / 1.249 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.815e-05/0.3119, allocations: 83.45 kB / 1.249 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3119, allocations: 0 / 1.249 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002621/0.3122, allocations: 31.86 kB / 1.249 GB, free: 1.172 MB / 0.9669 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.0006793/0.3128, allocations: 0.8707 MB / 1.25 GB, free: 284 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.052e-05/0.3129, allocations: 4 kB / 1.25 GB, free: 280 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3129, allocations: 0 / 1.25 GB, free: 280 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.492e-06/0.3129, allocations: 3.984 kB / 1.25 GB, free: 276 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.3133, allocations: 455.8 kB / 1.25 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.3138, allocations: 269.5 kB / 1.25 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.3142, allocations: 0.669 MB / 1.251 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.873e-05/0.3142, allocations: 8 kB / 1.251 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.3142, allocations: 15.42 kB / 1.251 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3142, allocations: 0 / 1.251 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.3357, allocations: 1.676 MB / 1.253 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.124, allocations: 13.11 kB / 1.253 GB, free: 13.3 MB / 0.9825 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